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, 28 Jan 2010 14:14:52 +0000 (15:14 +0100)
commitfca7926374e7f30a5c435678f76d26b619758020
treee637d5415c28afb1a89ac07bcc952020e271e30a
parent9d1a31c7f67f9885fe89081604ba01e045960004
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'
  />
C4/SIP/SIPServer.pm
C4/SIP/SIPconfig.xml