]> git.koha-community.org Git - koha.git/commit
Bug 3814: SIP2 Server logging doesn't work on OpenSolaris
authorFrédéric Demians <f.demians@tamil.fr>
Fri, 27 Nov 2009 17:16:55 +0000 (18:16 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Thu, 20 May 2010 23:56:16 +0000 (01:56 +0200)
commit72c0348f82bd8db0c89a38ba9c59cd406f2b2ed4
tree601ff8bcad95c5b0635503f146fa9450c5e79c2e
parent70b776fe47aaeea842051f1b52735af18a212f55
Bug 3814: SIP2 Server logging doesn't work on OpenSolaris

This patch put in SIPconfig.xml SIP2 server logging parameters. This is
way it's possible to modify where SIP2 logs are sent. And fix
OpenSolaris bug.

WARNING: After an upgrade, installation using a custom SIP2 server
config file will need to copy default SIPconfig.xml added section:

<!--
  Set Net::Server::PreFork runtime parameters
  syslog_ident will identify SIP2 Koha server entries in syslog
  For OpenSolaris, add: syslog_logsock=stream
-->
  <server-params
    min_servers='1'
    min_spare_servers='0'
    log_file='Sys::Syslog'
    syslog_ident='koha_sip'
    syslog_facility='local6'
  />

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/SIP/SIPServer.pm
C4/SIP/SIPconfig.xml