Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2016, 01:56 AM
xiaokaoy xiaokaoy is offline
Registered User
 
Join Date: Mar 2016
Posts: 5
How to save the text in my current session window to file immediately?

I have specified a log filename for my current session and checked "Log Session" under the "File" menu, but it seems that SecureCRT won't save the text in my current session window until a long time has passed or I close the application.

Is there any way to force SecureCRT to save the text to the log file right away while keeping the session active?

(Sorry for my poor English)
Reply With Quote
  #2  
Old 03-30-2016, 08:41 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,633
Hi xiaokaoy,

What version of SecureCRT are you using?

On what platform/OS?

What protocol are you using in the session?

Is the logging location a local or a network resource?

What sort of commands are you running?
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 03-30-2016, 07:42 PM
xiaokaoy xiaokaoy is offline
Registered User
 
Join Date: Mar 2016
Posts: 5
Quote:
Originally Posted by bgagnon View Post
Hi xiaokaoy,

What version of SecureCRT are you using?

On what platform/OS?

What protocol are you using in the session?

Is the logging location a local or a network resource?

What sort of commands are you running?
Thanks.

SecureCRT 6.5.0
Windows 7
Telnet
a local file
Sorry, I'm afraid I don't know what you meant by 'commands'.
Reply With Quote
  #4  
Old 03-30-2016, 07:48 PM
xiaokaoy xiaokaoy is offline
Registered User
 
Join Date: Mar 2016
Posts: 5
Quote:
Originally Posted by bgagnon View Post
Hi xiaokaoy,

What version of SecureCRT are you using?

On what platform/OS?

What protocol are you using in the session?

Is the logging location a local or a network resource?

What sort of commands are you running?
I can also save the text to the file immediately by unchecking "Log Session" under the File menu and then checking it again, but obviously this is not a good idea.
Reply With Quote
  #5  
Old 03-31-2016, 09:11 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,633
Hi xiaokaoy,

Quote:
Sorry, I'm afraid I don't know what you meant by 'commands'.
What sort of output are you logging? What is getting written to the log file?
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #6  
Old 03-31-2016, 09:00 PM
xiaokaoy xiaokaoy is offline
Registered User
 
Join Date: Mar 2016
Posts: 5
Quote:
Originally Posted by bgagnon View Post
Hi xiaokaoy,


What sort of output are you logging? What is getting written to the log file?
I entered Linux shell by telnet and typed command lines like top.
Reply With Quote
  #7  
Old 03-31-2016, 09:41 PM
xiaokaoy xiaokaoy is offline
Registered User
 
Join Date: Mar 2016
Posts: 5
Quote:
Originally Posted by xiaokaoy View Post
I entered Linux shell by telnet and typed command lines like top.
When does SecureCRT write the text in the session window to the log file? Periodically?
Reply With Quote
  #8  
Old 04-01-2016, 08:35 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,633
Hi xiaokaoy,

Thanks for the info. Most output should be written to the log as soon as it is echoed to the terminal, but with a command such as top, there could be some other idiosyncrasies.

Are carriage returns (CRs) being sent by the remote?

It could be that the remote actually paints the info to the screen, as opposed to conventional lines of output. Let's get a raw log to see if there are CR line endings. (You also might try version 8.0, the current release, to see if the results are any different.)

To create a raw log:
  • Before connecting with the session, select Raw Log Session from SecureCRT's File menu.
  • In the Select Log File dialog, choose a folder and filename in which you would like the log text to be stored and press the Save button. At this point, if you open the File menu, you will notice that the Raw Log Session menu item now has a check-mark next to it; this indicates that raw logging is activated.
  • Now connect to the remote machine and perform the actions that cause the behavior.
  • Disconnect the session and select Raw Log Session from the File menu to turn off the raw logging feature.

Since a raw log can contain sensitive information, feel free to send it as an attachment via email to support@vandyke.com. Please reference "Attn Brenda - Forum Thread #12302" in the subject line.
__________________
Thanks,
--Brenda

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

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 07:36 PM.