mirror of https://github.com/grafana/grafana
Reopen log files after receiving a SIGHUP signal (#13112)
* Reopen log files after receiving a SIGHUP signal Implements a system signals listener in log.FileLogWriter. After receiving a SIGHUP signal from the system, the listener will close the current log file and then open it again. The listener will finishes after receiving a SIGINT, SIGKILL or SIGTERM signal. Closes grafana/grafana#2497 * Move the SIGHUP handling to the main filepull/13133/head
parent
dac2c62545
commit
a6aa219895
Loading…
Reference in new issue