Logging to Syslog
Users prefer Pleasant Password Server with a KeePass client!
Password Server can redirect log events to a Syslog server.
About the Syslog Protocol
The Syslog protocol is a format standard for Event log messages, originally becoming popular first in Unix-based systems. It is effective for redirecting and filtering system logs or alerts and is useful towards consolidating logs from multiple systems.
It is useful in the administration of these aspects of log messages:
- Managing system alerts
- Debugging event messages
- Tracking information
- Auditing system security
- etc.
For more details see: https://en.wikipedia.org/wiki/Syslog
Enabling Syslog
To enable logging to Syslog, go to:
- Logging -> Syslog Configuration
Syslog Settings
The following settings are available:
Enabled
- Determines whether messages are sent to your Syslog Server or not.
Host
- The address of the server running your Syslog Server.
Port
- The port used by your Syslog server.
Protocol
- The transport protocol used to send the Syslog data: UDP or TCP/IP.
Facility
- A facility code is just a label to specify the type of program that is logging the message. It allows an administrator to label and track the different log sources from various applications, which could than be handled by the Syslog server uniquely, however the admin would so choose.
For Password Server choose one of the LocalUse values (LocalUser0 thru LocalUser7). You can also choose another facility value if you know this value is not is not already being using in your Syslog server to indicate another program).
Possible facility values are:
- KernelMessages
- UserLevelMessages
- MailSystem
- SystemDaemons
- InternalMessages
- LinePrinterSubsystem
- NetworkNewsSubsystem
- UUCPSubsystem
- ClockDaemon1
- ClockDaemon2
- FTPDaemon
- NTPSubsystem
- LogAudit
- LogAlert
- SecurityOrAuthorizationMessages1
- SecurityOrAuthorizationMessages2
- LocalUse0
- LocalUse1
- LocalUse2
- LocalUse3
- LocalUse4
- LocalUse5
- LocalUse6
- LocalUse7
Troubleshooting Syslog Errors
- Increase the logging details for Syslog in the file error log, by following the instructions here for Syslog