Commit ee7f592e authored by Iustin Pop's avatar Iustin Pop

Log log-file reopening

This makes the log files get an record notifying of the reopen, so as
to force creation of the log files soon after rotation.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent b713fb7a
......@@ -170,6 +170,7 @@ def _ReopenLogFiles(handlers):
"""
for handler in handlers:
handler.RequestReopen()
logging.info("Received request to reopen log files")
def SetupLogging(logfile, program, debug=0, stderr_logging=False,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment