LockerProject/Locker — Issue #567: Shutdown messages are missing from Logs/locker.log
Author: mdz
Created: 2012-01-17 21:16:45+00:00
State: open
Labels: logging

A normal shutdown looks like this, on the console:

17 Jan 13:15:21 - info: Shutting down...
17 Jan 13:15:21 - info: Signalling search to shut down (pid 4232)
17 Jan 13:15:21 - info: Signalling links to shut down (pid 4236)
17 Jan 13:15:21 - info: Waiting for search to exit.
17 Jan 13:15:21 - info: [mongo] Tue Jan 17 13:15:21 [conn3] end connection 127.0.0.1:37608
17 Jan 13:15:21 - info: [mongo] Tue Jan 17 13:15:21 [conn2] end connection 127.0.0.1:37607
17 Jan 13:15:21 - info: [mongo] Tue Jan 17 13:15:21 [conn4] end connection 127.0.0.1:37623
17 Jan 13:15:21 - info: search exited with status 1, signal null
17 Jan 13:15:21 - info: Waiting for links to exit.
17 Jan 13:15:21 - info: links exited with status 1, signal null
17 Jan 13:15:21 - info: Shutdown complete.
tutti:[~/src/singly/Locker]

But in Logs/locker.log, most of that is missing. I only see:

{"level":"verbose","message":"POST proxy of /Me/search/events","timestamp":"17 Jan 13:15:11"}
{"level":"verbose","message":"proxying POST /Me/search/events to http://localhost:43077//events","timestamp":"17 Jan 13:15:11"}
{"level":"verbose","message":"Proxy complete","timestamp":"17 Jan 13:15:11"}
{"level":"info","message":"[mongo] Tue Jan 17 13:15:21 got kill or ctrl c or hup signal 2 (Interrupt), will terminate after current cmd ends","timestamp":"17 Jan 13:15:21"}
{"level":"info","message":"[mongo] Tue Jan 17 13:15:21 [interruptThread] now exiting","timestamp":"17 Jan 13:15:21"}
tutti:[~/src/singly/Locker]