Miek Gieben
5f114d38ca
pkg/log: add Clear to stop debug logging ( #3372 )
...
When reloading we need to disable debug output when the debug plugin is
removed from the config file. Add a `Clear` function to pkg/log and use
it in the server server.
Add test case in pkg/log, for actuall check I manually checked the
output by sprinkling some debug statements in the startup and checking
with sending SIGUSR1.
Also clear up the comments in pkg/log to remove the text about time
stamping.
Fixes : #3035
Signed-off-by: Miek Gieben <miek@miek.nl >
2019-10-17 15:53:11 +01:00
..
2019-10-09 07:24:18 +00:00
2019-09-20 08:02:30 +01:00
2019-10-01 07:41:29 +01:00
2019-10-08 10:20:48 +01:00
2019-09-20 08:02:30 +01:00
2019-10-08 10:20:48 +01:00
2019-10-08 10:20:48 +01:00
2019-10-01 07:41:29 +01:00
2019-09-20 08:02:30 +01:00
2019-10-02 15:18:36 -07:00
2019-09-28 10:40:43 +01:00
2019-09-20 08:02:30 +01:00
2019-10-16 07:32:11 +01:00
2019-10-01 07:41:29 +01:00
2019-10-02 07:22:26 +01:00
2019-09-20 08:02:30 +01:00
2019-10-01 07:41:29 +01:00
2019-10-08 10:20:48 +01:00
2019-10-09 07:24:18 +00:00
2019-10-08 10:20:48 +01:00
2019-10-08 10:20:48 +01:00
2019-10-08 10:20:48 +01:00
2019-10-08 10:20:48 +01:00
2019-09-23 14:40:14 +01:00
2019-10-08 10:20:48 +01:00
2019-09-26 13:19:45 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-10-17 15:53:11 +01:00
2019-09-20 08:02:30 +01:00
2019-09-26 13:19:45 +01:00
2019-10-08 10:20:48 +01:00
2019-10-01 07:41:29 +01:00
2019-09-28 10:40:43 +01:00
2019-10-09 07:24:18 +00:00
2019-09-26 13:19:45 +01:00
2019-10-16 07:32:11 +01:00
2019-10-08 10:20:48 +01:00
2019-09-23 14:40:14 +01:00
2019-10-08 10:20:48 +01:00
2019-10-01 07:41:29 +01:00
2019-09-20 08:02:30 +01:00
2019-09-05 09:07:55 -04:00
2019-03-26 14:37:30 +00:00
2019-08-24 18:14:25 +00:00
2018-07-19 16:23:06 +01:00
2019-01-19 11:23:13 +00:00
2019-08-21 16:08:55 -04:00
2019-08-21 16:08:55 -04:00
2019-09-20 08:02:30 +01:00