Got it

Huawei Storage One-Click Collection Log Overview

Latest reply: Dec 22, 2018 02:19:13 658 4 11 0 0

Applicable version: Uniform storage 530, 830 and later versions


The contents of a one-click log collection are determined by /etc/conf.logc/log_collect.xml. The file label of the file 

indicates the file to be collected, the name indicates the file name, and the generator indicates the way the log file is generated.


· When the generator is 0, the log file is generated from the source file copy specified by the src parameter.


· When the generator is 1, the log file is generated by the script specified by the src parameter, and the name is 

passed as a parameter to the script, and whether the log is successfully collected or not is determined by whether there is a corresponding log.


· When the generator is 2, src indicates a command that can be executed, and the output of the command is 

redirected to the file specified by name. Whether the log collection is successful or not is determined by whether there is a corresponding log.


· When the generator is 3, the log file is generated by the script specified by the src parameter, and the name is passed as a parameter to the script. The return value of the script determines whether the log collection is successful or not. A return value of 0 

indicates that the collection is successful. The log collection script checks whether the corresponding log is collected. If the log exists, it will be successfully recorded in the result file. If it does not exist, the record will fail. If the return value is 1, 

the collection fails. The failure is recorded in the result file; returning 2 means that the log cannot be collected is normal, and will not be recorded in the result file at this time;


I come to the forum to see technical posts every day, sooner or later I will become an expertHuawei Storage One-Click Collection Log Overview-2825731-1.
View more
  • x
  • convention:

Document data is very detailed and useful
View more
  • x
  • convention:

Very helpful
View more
  • x
  • convention:

Is there a tool for log collecting?
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.