beautypg.com

76 logging timestamp, 77 show logging – CANOGA PERKINS 9175 Command Reference User Manual

Page 727

background image

CanogaOS Command Reference

40-56

40.76 logging timestamp

To configure the system to apply a time-stamp to debugging messages or system logging messages,

use the logging timestamps command in global configuration mode. To restore the default timestamp

format, use the no form of this command.


Command Syntax

logging timestamp {bsd | date | iso | none | rfc3164 | rfc3339}

no logging timestamp

bsd

BSD style (RFC 3164).

date

Date

command

style.

iso

ISO style (RFC 3339).

none No

timestamp.

rfc3164

RFC 3164 style (bsd).

rfc3339

RFC 3339 style (iso).

Command Mode

Global configuration


Default

Default timestamp format is BSD.

Usage


Examples

The following is sample output from the logging timestamp command.

Switch(config)# logging timestamp iso


Related Commands

show logging

40.77 show logging

To display the state of system logging (syslog), use the show logging command in privileged EXEC

mode.


Command Syntax

show logging


Command Mode

Privileged EXEC