Implement sighandler, logfile can be not only stderr
* Implement sighandler for int, quit, term signals * Implement log reopen on sighup * Catch http.Server's error log * Implement logfile setting in config
This commit is contained in:
@@ -9,4 +9,7 @@ port = 9980
|
||||
timeout = 5
|
||||
|
||||
; loglevel - info or debug, info is what you want
|
||||
loglevel = debug
|
||||
loglevel = info
|
||||
|
||||
; logfile - log to this file, default stderr
|
||||
;logfile = /var/log/joyproxy.log
|
||||
|
||||
Reference in New Issue
Block a user