Command descriptions set syslog
ConnectPort® LTS Command Reference
135
set syslog
Purpose
Used for managing SYSLOG settings and showing the status of the SYSLOG service. The SYSLOG
service sends serial port data to a SYSLOG server.
Required permissions
Permissions must be set to one of the following:
n For a user to display the Samba settings: “set permissions s-service=read”
n For a user to display and set the Samba settings: “set permissions s-service=rw”
Syntax
Configure SYSLOG settings
set syslog [state={off|on}]
[server={
hostname
|
ip address
}]
[facility={Local0|Local1|Local2|Local3|Local4|
Local5|Local6|Local7}]
Display current settings
set syslog
Options
state ={off|on}
Specifies whether the Syslog service will be enabled
on
Enable the Syslog service.
off
Disable the Syslog service.
Default is off.
server={hostname|ip address}
Specifies the host name or the IP address of Syslog server.
facility=(Local0|Local1|Local2|Local3|Local4|Local5| Local6|Local7)
Specifies the facility level used for logging. Facility levels are used to label information as it is sent to
the SYSLOG service. They allow for different types of data to be handled separately at the SYSLOG
server.
Examples
Enable Syslog service