Chapter 14: Command Line Configuration
14.11.12 Port log
To configure serial/network port logging:
# config -s config.eventlog.server.address='remote server ip address'
# config -s config.eventlog.server.logfacility='facility'
'facility' can be:
Daemon
Local 0-7
Authentication
Kernel
User
Syslog
Mail
News
UUCP
# config -s config.eventlog.server.logpriority='priority'
'priority' can be:
Info
Alert
Critical
Debug
Emergency
Error
Notice
Warning
Assume the remote log server needs a username 'name1' and password 'secret':
# config -s config.eventlog.server.username=name1
# config -s config.eventlog.server.password=secret
To set the remote path as '/tripplite/logs' to save logged data:
# config -s config.eventlog.server.path=/tripplite/logs
# config -s config.eventlog.server.type=[none | syslog | nfs | cifs | usb]
If the server type is set to usb, none of the other values need to be set. The mount point for storing on a remote USB device is
/var/run/portmanager/logdir
The following command will synchronize the live system with the new configuration:
# config -a
191