https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39911

Tomás Cohen Arazi (tcohen) <tomasco...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #182508|0                           |1
        is obsolete|                            |

--- Comment #5 from Tomás Cohen Arazi (tcohen) <tomasco...@gmail.com> ---
Created attachment 183078
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183078&action=edit
Bug 39911: Trap DIE signals in SIP server

At some point our SIP server stopped logging fatal errors to either logs or
standard error. We should restore this vital functionality.

Test Plan:
1) Apply the first patch which will cause the patron information request
   to fail
2) Stop the SIP server
3) Start it again with: perl /kohadevbox/koha/C4/SIP/SIPServer.pm
/etc/koha/sites/kohadev/SIPconfig.xml
4) Trigger the failure with the following command:
   ./misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su koha -sp koha -l MPL
--patron koha -m patron_information
5) Note "THIS IS A TEST" is not found in logs or stderr
6) Apply the second patch
7) Repeat steps 2-4
8) Note the error message is now visible from stderr at the command line
   and also in the SIP log

Signed-off-by: Magnus Enger <mag...@libriotech.no>
Signed-off-by: Tomas Cohen Arazi <tomasco...@theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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/

Reply via email to