Opened 11 years ago
Last modified 8 years ago
#11216 closed enhancement
[PATCH] Make syslog facility and socket configurable — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | syslog patch |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
To filter trac log entries and store them in a separate log file with syslog-type logging, the syslog facility must be configurable. Otherwise, trac log entries cannot be distinguished from other log entries using the same facility. Using file-type logging is not an option for me, as I don't know how to safely rotate the resulting log files.
Therefore, I wrote a patch to configure the syslog facility and the syslog socket using the new options log_facility and log_socket for syslog-type logging. log_facility is needed to distinguish trac log entries from other application's log entries. log_socket is needed for operating systems where the syslog socket is not named /dev/log.
Patch to add log_socket and log_facility options. Applies to trunk@11822