Cleareventlog command, Eventlogfile command, Eventsyslog command – Raritan Computer SX User Manual

Page 126: Table 8 eventlogfile command, Table 9 eventsyslog command

Advertising
background image

108

D

OMINION

SX

U

SER

G

UIDE

Cleareventlog Command

The cleareventlog command clears the contents of the local event log.
The syntax of the cleareventlog command is:
cleareventlog

Cleareventlog Command Example

admin > Config > Log > cleareventlog

Eventlogfile Command

The eventlogfile command controls and configures the logging of events to the local log.
The syntax of the eventlogfile command is:

eventlogfile [enable <true|false>] [size value] [style <wrap|flat>]

The eventlogfile command options are described in Table 8.

Table 8 Eventlogfile Command

C

OMMAND

O

PTION

D

ESCRIPTION

enable <true|false>

Enable or disable the system event log logging.

size value

Maximum size of local log file (in bytes)

style <wrap|flat>

Specifies what action to take when the maximum size is reached:
wrap will cause the log to circle around when end is reached.
flat will cause logging to stop when the end is reached.


Eventlogfile Command Example

admin > Config > Log > eventlogfile enable true size 256000 style wrap

Eventsyslog Command

The eventsyslog command controls system event logging.
The syntax of the eventsyslog command is:

eventsyslog [enable <true|false>] [] [secondary ip <ip>]

The eventsyslog command options are described in Table 9.

Table 9 Eventsyslog Command

C

OMMAND

O

PTION

D

ESCRIPTION

enable <true|false>

Enable or disable the system event log logging.

primary ip <ip>

Primary FTP server address

secondary ip <ip>

Secondary FTP server address


Eventsyslog Command Example

admin > Config > Log > eventsyslog enable true primaryip
192.168.134.11 secondaryip 192.168.245.11

Advertising