Secure CRT automatically records log configuration note

Source: Internet
Author: User

 

 

As an O & M dBA, you should generate a log record when handling faults or operations. Of course, we usually connect to the system through securecrt, so we use this tool to record logs.

Before each operation, I click to record logs. The trouble is a little troublesome. I am used to this kind of practice. Of course, sometimes I forget to record logs.

 

After studying it yesterday, securecrt can automatically record logs. Of course, this feature was available N years ago, but I have never studied it.

 

I searched for the securecrt version, which has reached 7.1. I have been using the 6.0 software many years ago, and there is no need to catch up with new ones, but I updated it today.

 

Securecrt7.1: http://www.vandyke.com/download/securecrt/download.html

 

Configure Automatic Log as follows:

1. Options ---> Global Options

 

 

2. Edit default setting

 

3. Set Log File Attributes

 

 

Click Log and enter the path and name parameters in the log file name field in the option box:

E: \ Dave \ securecrt_log \ % Y _ % m _ % d _ % H. Log

 

The log format is: year _ month _ day _ host name. log, and then start log upon connect and append to file.

 

The parameter description is as follows:

% H Host Name (IP address used to connect to the host)

% Y year

% M month

% D

% H hour

% M minutes

% S seconds

 

Fill in the on each line session box in custom log data:

% Y % m % d _ % H: % m: % s

The CRT will add a timestamp to each line in the log content, and fill in parameters as needed.

 

 

 

4. Verify

 

 

 

Small knowledge.

 

 

 

 

 

Bytes --------------------------------------------------------------------------------------------

All rights reserved. reprinted articles are allowed, but source addresses must be indicated by links. Otherwise, the documents will be held legally responsible!

QQ: 251097186

Skype: tianlesoftware

Email: tianlesoftware@gmail.com

Blog: http://blog.csdn.net/tianlesoftware

WEAVER: http://weibo.com/tianlesoftware

Twitter: http://twitter.com/tianlesoftware

Facebook: http://www.facebook.com/tianlesoftware

LinkedIn: http://cn.linkedin.com/in/tianlesoftware

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.