Logsize - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Guidelines
The loglevel command determines which system-generated events to log to the
basic event log. The log priority also functions as filter and determines which
events to forward to a remote syslog daemon. In contrast, syslog specifies the
events that will be forwarded to a remote appliance.
In the absence of an argument, loglevel displays the current log-level.
The log levels can be expressed as character strings or as integer values, with 0
equating to emergency (most critical) and 6 equating to info (least critical).
By default the basic log level is set to notice (5).
When issued with an argument, loglevel specifies that all events of greater or
equal criticality to the argument are logged.
Note: The loglevel, logsize, and syslog commands provide the ability to configure
Related Commands
logsize, show log, syslog
Examples
v Sets the priority to critical, which specifies that critical, alert, and emergency
v Sets the priority to 2, which specifies that critical, alert, and emergency events
v Sets the priority to debug, which specifies that all events are logged. This setting
v Displays the current priority.

logsize

Sets the size of a basic event log.
v critic or 2
v error or 3
v warn or 4
v notice or 5
v info or 6
v debug or 7
a rudimentary basic logging system.
Users, however, are encouraged to use the logging target command to enter
Logging configuration mode. From within this mode, users can exercise
more precise control over log formats and contents.
events are logged.
# loglevel critical
#
are logged.
# loglevel 2
#
is not intended for production environments.
# loglevel 7
#
# loglevel
loglevel is 7 debug
#
Chapter 2. Global configuration mode
65

Advertisement

Table of Contents
loading

Table of Contents