Martin Renvoize
e07c9e9f06
This patch adds `%P` to the SIP log4perl configuration so that PID is recorded against log lines. This allows transactions to be more easily tied together under one SIPServer, thus making it easier to pick out a whole transaction from start to finish. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
63 lines
2.7 KiB
Text
63 lines
2.7 KiB
Text
log4perl.logger.intranet = WARN, INTRANET
|
|
log4perl.appender.INTRANET=Log::Log4perl::Appender::File
|
|
log4perl.appender.INTRANET.filename=__LOG_DIR__/intranet-error.log
|
|
log4perl.appender.INTRANET.mode=append
|
|
log4perl.appender.INTRANET.layout=PatternLayout
|
|
log4perl.appender.INTRANET.layout.ConversionPattern=[%d] [%p] %m %l %n
|
|
log4perl.appender.INTRANET.utf8=1
|
|
|
|
log4perl.logger.opac = WARN, OPAC
|
|
log4perl.appender.OPAC=Log::Log4perl::Appender::File
|
|
log4perl.appender.OPAC.filename=__LOG_DIR__/opac-error.log
|
|
log4perl.appender.OPAC.mode=append
|
|
log4perl.appender.OPAC.layout=PatternLayout
|
|
log4perl.appender.OPAC.layout.ConversionPattern=[%d] [%p] %m %l %n
|
|
log4perl.appender.OPAC.utf8=1
|
|
|
|
log4perl.logger.z3950 = WARN, Z3950
|
|
log4perl.appender.Z3950=Log::Log4perl::Appender::File
|
|
log4perl.appender.Z3950.filename=__LOG_DIR__/z3950-error.log
|
|
log4perl.appender.Z3950.mode=append
|
|
log4perl.appender.Z3950.layout=PatternLayout
|
|
log4perl.appender.Z3950.layout.ConversionPattern=[%d] [%p] %m %l %n
|
|
log4perl.appender.Z3950.utf8=1
|
|
|
|
log4perl.logger.api = WARN, API
|
|
log4perl.appender.API=Log::Log4perl::Appender::File
|
|
log4perl.appender.API.filename=__LOG_DIR__/api-error.log
|
|
log4perl.appender.API.mode=append
|
|
log4perl.appender.API.layout=PatternLayout
|
|
log4perl.appender.API.layout.ConversionPattern=[%d] [%p] %m %l %n
|
|
log4perl.appender.API.utf8=1
|
|
|
|
log4perl.logger.sip = DEBUG, SIP
|
|
log4perl.appender.SIP=Log::Log4perl::Appender::File
|
|
log4perl.appender.SIP.filename=__LOG_DIR__/sip.log
|
|
log4perl.appender.SIP.mode=append
|
|
log4perl.appender.SIP.layout=PatternLayout
|
|
log4perl.appender.SIP.layout.ConversionPattern=[%d] [%P] [%p] %m %l %n
|
|
log4perl.appender.SIP.utf8=1
|
|
|
|
log4perl.logger.plack-opac = WARN, PLACKOPAC
|
|
log4perl.appender.PLACKOPAC=Log::Log4perl::Appender::File
|
|
log4perl.appender.PLACKOPAC.filename=__LOG_DIR__/plack-opac-error.log
|
|
log4perl.appender.PLACKOPAC.mode=append
|
|
log4perl.appender.PLACKOPAC.layout=PatternLayout
|
|
log4perl.appender.PLACKOPAC.layout.ConversionPattern=[%d] [%p] %m
|
|
log4perl.appender.PLACKOPAC.utf8=1
|
|
|
|
log4perl.logger.plack-api = WARN, PLACKAPI
|
|
log4perl.appender.PLACKAPI=Log::Log4perl::Appender::File
|
|
log4perl.appender.PLACKAPI.filename=__LOG_DIR__/plack-api-error.log
|
|
log4perl.appender.PLACKAPI.mode=append
|
|
log4perl.appender.PLACKAPI.layout=PatternLayout
|
|
log4perl.appender.PLACKAPI.layout.ConversionPattern=[%d] [%p] %m
|
|
log4perl.appender.PLACKAPI.utf8=1
|
|
|
|
log4perl.logger.plack-intranet = WARN, PLACKINTRANET
|
|
log4perl.appender.PLACKINTRANET=Log::Log4perl::Appender::File
|
|
log4perl.appender.PLACKINTRANET.filename=__LOG_DIR__/plack-intranet-error.log
|
|
log4perl.appender.PLACKINTRANET.mode=append
|
|
log4perl.appender.PLACKINTRANET.layout=PatternLayout
|
|
log4perl.appender.PLACKINTRANET.layout.ConversionPattern=[%d] [%p] %m
|
|
log4perl.appender.PLACKINTRANET.utf8=1
|