http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12952
--- Comment #2 from Srdjan Jankovic <[email protected]> --- Created attachment 31690 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31690&action=edit Log koha actions to syslog too * Added kohasite and syslog_facility to config * syslog_facility is set to "user" and commented out for the fresh site install * If syslog_facility is enabled in config, log to syslog as <kohasite> (value of kohasite config) * /etc/rsyslog.d/99-<kohasite>.conf is created with filter instructions to direct <kohasite> log entries to standard log dir (/var/log/koha/<kohasite>) action.log; syslog daemons other than rsyslog need to be configured (or not) to do the same, otherwise catch all syslog log file is used Testing: 1. t/Log.t has been amended, it shold run without errors 2. Enable (uncomment) syslog_facility iand set kohasite in koha-conf.xml Perform an update action that triggers logging Observe an entry in the syslog If /etc/rsyslog.d/99-<kohasite>.conf (or similar) is present, the same entry should be in the <site-log-dir>/action.log -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
