Got it

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

Latest reply: Apr 27, 2020 20:55:40 1380 3 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.

View more
  • x
  • convention:

JOSEFRR
Created Apr 27, 2020 20:55:20 Helpful(0) Helpful(0)

Nice job, thank you!
View more
  • x
  • convention:

JOSEFRR
Created Apr 27, 2020 20:55:40 Helpful(0) Helpful(0)

Very pleased
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 " Privacy."

My Followers

Login and enjoy all the member benefits

Login

Huawei Enterprise Support Community
Huawei Enterprise Support Community
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.