SecureCRT的日志设置
想要每次都主动弹出对话框,并记录相关的log日志:
Options->Session
Options->Terminal->Log
File
中,选中(记录文件)
选择追加文件,在连接上启动记录Prompt
for filename
Start log upon connect
这样,每次连接一个session的时候,都会弹出对话框,让你选择保存到哪个日志文件。
并且希望日志文件名可以自动按照日期生成,可以如下设置:
将文件名写成:%Y%M%D%h%m%s_%S.log
这样,每次弹出的时候,就自动生成了对应的文件名,比如此处的20090520100519_Serial-COM1.log
另外,最好选中Append to
file,这样,之后的日志都可以追加到已有的日志文件而不会讲原先的文件清空了。
【附录】
SecureCRT的相关Help内容:
Terminal /
Log File
The Log
File category of
the Session
Options dialog allows you to
customize the logging options for the
selected
Log file group
This section lets you specify a default filename for your lo