SECURECRT Configuring automatic Logging

Source: Internet
Author: User

Many people use SECURECRT, want to automatically record the log, one is convenient for later review, one is to own operation has a record. You can see what you've done, and sometimes you can even see if you've made a mistake before, and it's a great feature.

The settings are simple and can be automatically divided according to the attached host, the following is the description:

Select "Options"-"global Options" in the menu

Then select General--default session--edit default settings edit default settings

Then select the log file

Fill in the log file name with the log path name you want to save and the log file name

Start log upon connect indicates that the record is started when connected, and Append to file means that the append is not overwritten.
Here in order to be able to log each session, you can use the supported parameters
%H Host name%s session name
%Y year%M Month%d Day
%h hours%m minutes%s seconds
For example, I filled out the E:\SecureCRT\Logs\%H\%Y-%M-%D_%h%m%s.log
is to remain in the E:\SecureCRT\Logs\ directory, the path can also use parameters

\%h\ This setting can put the same host log into a folder, the folder name is the hostname, does not automatically create a folder

Here you can check the log on the connection to start logging

Because we often open securecrt, but not always use, in order to know when I enter the command is at the time, you can in the "on every line" in this setting of the [%h:%m:%s]

This will record the time each line of log was entered.

Logs such as:

Give it a try!

SECURECRT Configuring automatic Logging

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.