2014-02-24 09:26:16 scrapple router: [INFO:24050:osrf_router.c:223:] Router shutting down
2014-02-24 09:26:16 scrapple router: [DEBG:24050:osrf_router_main.c:157:] Router received signal 15; re-raising
Note if the signal received in router_main is not a shutdown signal, it will be logged as a WARNing within the router, so we're not losing information.
Code:
http:// git.evergreen- ils.org/ ?p=working/ OpenSRF. git;a=shortlog; h=refs/ heads/user/ berick/ lp1284137- router- shutdown- signal- logging
The logs now read:
2014-02-24 09:26:16 scrapple router: [INFO:24050: osrf_router. c:223:] Router shutting down
2014-02-24 09:26:16 scrapple router: [DEBG:24050: osrf_router_ main.c: 157:] Router received signal 15; re-raising
Note if the signal received in router_main is not a shutdown signal, it will be logged as a WARNing within the router, so we're not losing information.