Summary: | siplogs do not record process IDs | ||
---|---|---|---|
Product: | Koha | Reporter: | Barton Chittenden <barton> |
Component: | SIP2 | Assignee: | Martin Renvoize (ashimema) <martin.renvoize> |
Status: | CLOSED FIXED | QA Contact: | Kyle M Hall (khall) <kyle> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | andrew, colin.campbell, fridolin.somers, jonathan.druart, kyle, martin.renvoize, nick, tomascohen |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14167 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25464 |
||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This addition to the default configuration for the SIP section of the Log4Perl configuration will add the process ID to the log lines for SIP logs. This allows for tracing a transaction from start to finish when using forked SIP services.
|
Version(s) released in: |
21.05.00,20.11.06
|
Circulation function: | |||
Attachments: |
Bug 14300: Add %P to SIP LogPattern
Bug 14300: Add %P to SIP LogPattern |
Description
Barton Chittenden
2015-05-29 19:24:56 UTC
This is addressed by Bug 15253 -- possible duplicate? We add timestamps by default, but we're still not recording PID.. we should add the `%P` required to log PID to the default log4perl configs. Created attachment 119701 [details] [review] Bug 14300: Add %P to SIP LogPattern 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. Created attachment 119724 [details] [review] Bug 14300: Add %P to SIP LogPattern 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> Pushed to master for 21.05, thanks to everybody involved! Small useful enhancement, I choose to backport. Pushed to 20.11.x for 20.11.06 PS : We should consider this also for Plack non ? Since there are several workers. Enhancement, not backported to 20.05 |