Eventlog related commands – N-Tron 9000 Series User Manual
Page 115
5/17/2007 page 115 of 138
Eventlog Related Commands
Get Eventlog count
Command Name
eventlog get count
Description
To display the logged events count
Syntax
eventlog get count
Parameters
None
Examples
N-TRON/Admin#[1]> eventlog get count
No. of events logged : 14
NOTES
Get Eventlog level
Command Name
eventlog get loglevel
Description
To display the present log level
Syntax
eventlog get loglevel
Parameters
None
Examples
N-TRON/Admin#[1]> eventlog get loglevel
Present log Level: 1
NOTES
There are 5 levels or categories that events are classified as. Level 1 will
log all 5 types into the event log. Level 5 will log on the highest level
“Critical” in the event log. The log levels in order from least severe to
most critical are: Informational, Warning, Minor, Severe, & Critical.
Get Eventlog size
Command Name
eventlog get logsize
Description
To display the present log size
Syntax
eventlog get logsize
Parameters
None
Examples
N-TRON/Admin#[1]> eventlog get logsize
Present Log Size: 100
NOTES
Set Eventlog level
Command Name
eventlog set loglevel
Description
To set the log-level to a specified value for filter out the raised events.
Syntax
eventlog set loglevel
Parameters
level
The log level. The value is ranging from 1-5
Examples
N-TRON/Admin#[1]> eventlog set loglevel 3
N-TRON/Admin#[2]> eventlog set loglevel 1
N-TRON/Admin#[3]> eventlog set loglevel 2
NOTES
There are 5 levels or categories that events are classified as. Level 1 will
log all 5 types into the event log. Level 5 will log on the highest level
“Critical” in the event log. The log levels in order from least severe to
most critical are: Informational, Warning, Minor, Severe, & Critical.
Set Eventlog size
Command Name
eventlog set logsize
Description
To set the maximum number of events to be stored in the list.
Syntax
eventlog set logsize
Parameters
size
The log size. Maximum number of events that can be stored.
Examples
N-TRON/Admin#[1]> eventlog set logsize 100
N-TRON/Admin#[2]> eventlog set logsize 20
NOTES