What Time Formats Are Supported by the Information Center and How Do I Configure

Latest reply: Mar 26, 2016 19:03:03 1151 1 0 0
What Time Formats Are Supported by the Information Center and How Do I Configure These Formats?
  • x
  • convention:

Selina742
Created Mar 26, 2016 19:03:03 Helpful(0) Helpful(0)


The information center supports the following five time formats.
boot: indicates the relative time, a period of time since system start. The format is xxxxxx.yyyyyy. xxxxxx is the higher-order 32 bits of the milliseconds elapsed since system start; yyyyyy is the lower-order 32 bits of the milliseconds elapsed since system start.
date: indicates the current date and time of the system, in the format of mm dd yyyy hh:mm:ss.
format-date: indicates that the timestamp is expressed in YYYY-MM-DD hh:mm:ss format.
none: indicates that the output information does not contain the timestamp.
short-date: indicates the short date. This timestamp differs from date in that the year is not displayed.
The time format is set based on the information type. The time stamp format of logs generated by the device is the same as that of logs transmitted on all channels. You can set the time stamp format of logs using the following command.
<HUAWEI> system-view
[HUAWEI] info-center timestamp log ?
  boot         Information time stamp of relative time type                    
  date         Information time stamp of date type                             
  format-date  Information time stamp of date another type                     
  none         None information time stamp                                     
  short-date   Information time stamp of short date type: (MM:DD)              
                                                                                You can set the time format as service requires.

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice 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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login