30
Parameters
date
: Sets the timestamp format to MMM DD hh:mm:ss YYYY, such as Dec 8 10:12:21 2007. The
date
time shows the current system time.
iso
: Sets the ISO 8601 timestamp format, for example, 2009-09-21T15:32:55.
with-milliseconds
: Sets the timestamp to be accurate to milliseconds for logs output to log
hosts in date or ISO 8601 format. The millisecond value is appended to the time information in the
timestamp with a dot as the separator. If you do not specify this keyword, the timestamp in date or
ISO 8601 format is accurate to seconds.
•
Example of a timestamp in date format with millisecond accuracy: Dec 8 10:12:21.708 2018.
•
Example of a timestamp in ISO 8601 format with millisecond accuracy:
2018-09-21T15:32:55.708.
with-timezone
: Includes the time zone information in the ISO format timestamp. For example,
2009-09-21T15:32:55+01:00. By default, the ISO format timestamp does not contain the time zone
information.
no-year-date
: Sets the timestamp format to the current system date and time without year or
millisecond information.
none
: Indicates that no timestamp information is provided.
Examples
# Set the timestamp format to
no-year-date
for logs sent to log hosts.
<Sysname> system-view
[Sysname] info-center timestamp loghost no-year-date
Related commands
info-center timestamp
info-center trace-logfile quota
Use
info-center trace-logfile quota
to set the maximum size for the trace log file.
Use
undo info-center trace-logfile quota
to restore the default.
Syntax
info-center trace-logfile quota size
undo info-center trace-logfile quota
Default
The maximum size for the trace log file is 1 MB.
Views
System view
Predefined user roles
network-admin
Parameters
size
: Sets the maximum size for the trace log file, in MB. The value range is 1 to 10.
Examples
# Set the maximum size to 6 MB for the trace log file.
<Sysname> system-view
Summary of Contents for SOHO IE4300
Page 285: ...i Contents Tcl commands 1 cli 1 tclquit 1 tclsh 2...
Page 288: ...i Contents Python commands 1 exit 1 python 1 python filename 2...
Page 291: ...i Contents Automatic configuration commands 1 autodeploy udisk enable 1...
Page 323: ...25 Sysname Ten GigabitEthernet1 0 51 undo shutdown Related commands irf port...
Page 465: ...ii stp vlan enable 55 vlan mapping modulo 55...
Page 602: ...12 Related commands display mvrp statistics...
Page 609: ...i Contents VLAN mapping commands 1 display vlan mapping 1 vlan mapping 2...
Page 678: ...9 Related commands reset pppoe relay statistics...
Page 846: ...i Contents Basic IP forwarding commands 1 display fib 1 ip forwarding table save 2...
Page 1770: ...i Contents Time range commands 1 display time range 1 time range 1...
Page 2026: ...34 Related commands display mac authentication...
Page 2028: ...ii...
Page 2143: ...i Contents User profile commands 1 display user profile 1 user profile 2...
Page 2308: ...61 ipsec transform set...
Page 2531: ...i Contents SAVI commands 1 ipv6 savi down delay 1 ipv6 savi log enable 1 ipv6 savi strict 2...
Page 2534: ...3 Sysname ipv6 savi strict Related commands ipv6 verify source...
Page 2791: ...14 Sysname track 1 Related commands delay display track...
Page 2939: ...9 sntp authentication keyid sntp reliable authentication keyid...
Page 2967: ...27 Related commands apply poe profile poe enable poe max power interface view poe priority...