OcNOS-SP : System Management Guide : System Management Command Reference : Syslog Commands : logging timestamp
logging timestamp
Use this command to set the logging timestamp granularity.
Use the no form of this command to reset the logging timestamp granularity to its default (milliseconds).
Note: Any change in timestamp configurations will result in timestamp configured for event logged by protocol modules except for CLI history for the current and active sessions. The timestamp configuration is reflected in CLI history for new CLI sessions.
Changing logging timestamp will be taken into effect for the next OcNOS session.
Command Syntax
logging timestamp (microseconds|milliseconds|seconds|none)
no logging timestamp
Parameters
microseconds
Microseconds granularity
milliseconds
Milliseconds granularity
seconds
Seconds granularity
none
no timestamp in log message
Default
By default, logging time stamp granularity is milliseconds.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#logging timestamp milliseconds
Last modified date: 10/19/2023