Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 12-19-2019, 02:24 AM
nbanik nbanik is offline
Registered User
 
Join Date: Dec 2019
Posts: 3
Question Auto logging to a file

I've configured my securecrt to save session in a file like below:



But whenever I connect...it prompts me file name.

I don't want to prompt for file name. I want to make file like the above screenshot.

Pls help.
Attached Images
File Type: png Forum14015.png (224.5 KB, 296 views)

Last edited by bgagnon; 12-19-2019 at 08:54 AM. Reason: Embedded the image
Reply With Quote
  #2  
Old 12-19-2019, 08:14 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,482
Hi nbanik,

The attachment failed to attach (probably due to your moderation status).

What version of SecureCRT are you using?

On what OS/platform?

Please send the screenshot to support@vandyke.com and attach the screenshot to that email (and answer above questions). Please include Attn Brenda - Forum Thread #14015 in the subject line.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 12-19-2019, 08:52 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,482
Hi nbanik,

I could see screenshot after all.

Is that a valid path (C:\software\Secure_CRT_Logs\)?
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #4  
Old 12-19-2019, 11:49 AM
nbanik nbanik is offline
Registered User
 
Join Date: Dec 2019
Posts: 3
Yes. Valid. It prompts for file name. If i give file name....it saves that location. I want to save logging without promting file name. My version is 8.3.
Reply With Quote
  #5  
Old 12-19-2019, 11:53 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,482
Hi nbanik,

Please post screenshots of the prompt and also the filesystem where the logs are being written.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #6  
Old 12-19-2019, 12:24 PM
nbanik nbanik is offline
Registered User
 
Join Date: Dec 2019
Posts: 3
I figured it out.
It was a silly mistake.
It was
Y%-%M-%D-%h-%m-%s-->
It should be
%Y-%M-%D-%h-%m-%s-->

% should be before Y. I placed it after Y.

Anyway it worked. I'm happy.
But securecrt should give an exception for such error.
Reply With Quote
  #7  
Old 12-19-2019, 02:22 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,482
Hi nbanik,

Nice catch, that part was not shown in your screenshot unfortunately.

Quote:
But securecrt should give an exception for such error.
How could it do that? Y is a valid character for a filename as is %. In context you and I know it was a transposition in this case but maybe someone wants to use Y% as part of the filename.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply

Tags
logging , logging session securecrt


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 11:29 AM.