Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

24hr timestamps for syslog CPI 2.0

Hello,

Is there any setting to enable 24hr timestamps for syslog messages in CIPI 2.0?

Everyone's tags (2)
1 REPLY
Community Member

Re: 24hr timestamps for syslog CPI 2.0

Have the answer. Thanks to Eric Havill @ Cisco.

Edit the "/etc/sysconfig/i18n" file in the Linux shell of CPI.

Add  LANG="en_GB.UTF-8" to the file and comment out the other one.

The file should now be something like this.

LANG="en_GB.UTF-8"

##LANG="en_US.UTF-8"

SYSFONT="latarcyrheb-sun16"

As you can imagine the US is 12hr and GB is 24hr.

Now you need to restart the server for the settings to take effect.

292
Views
0
Helpful
1
Replies
CreatePlease to create content