Chapter 4: System Logging
Customizing Remote Logging Severity Levels
There is no limit on the number of remote logging servers you can add, and you can configure the severity level
for each server and log type independently (see
"Log Severity Levels" on page 46
for a description of the
different levels). For example, you could send all log entries produced by the appliance to one remote server,
and only entries marked
critical
or higher to another server.
NOTE
This feature has software and/or firmware dependencies. See
Dependencies by Feature" on page 1
for more information.
To customize remote logging severity:
1.
Set the severity level for the desired log type (lunalogs,messages,cron,secure,boot), specifying a remote
server you already added to the configuration (see
"syslog severity set" on page 1
).
lunash:>
syslog severity set -logname
<logname>
-loglevel
<loglevel>
-host
<hostname/IP>
lunash:>syslog severity set -logname lunalogs -loglevel critical -host 192.10.10.101
This command sets the severity level of lunalogs remote log messages.
Only messages with the severity equal to or higher than the new
log level: "critical" will be sent to 192.10.10.101.
Stopping syslog:
[ OK
]
Starting syslog:
[ OK
]
Command Result : 0 (Success)
2.
Optionally, confirm the new settings (see
).
lunash:>
syslog show
Remote Configured Log Levels:
-----------------------------
lunalogs:
192.10.10.100
info
192.10.10.101
critical
messages:
192.10.10.100
info
192.10.10.101
info
cron:
192.10.10.100
notice
192.10.10.101
notice
secure:
192.10.10.100
info
192.10.10.101
info
boot:
192.10.10.100
info
192.10.10.101
info
3.
Repeat step 1, specifying each log type severity level you wish to customize
(lunalogs,messages,cron,secure,boot).
SafeNet Luna Network HSM 7.3 Appliance Administration Guide
007-013576-005 Rev. A 13 December 2019 Copyright 2001-2019 Thales
53