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 | |
| 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 | |
| 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 | |
| Present Log Size: 100 |
NOTES |
|
Set Eventlog level |
|
Command Name | eventlog set loglevel |
Description | To set the |
Syntax | eventlog set loglevel <level> |
Parameters | level |
| The log level. The value is ranging from |
Examples | |
| |
| |
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 <size> |
Parameters | size |
| The log size. Maximum number of events that can be stored. |
Examples | |
| |
NOTES |
|
(Revised | page 121 of 145 |