Name
log_reopen — This is invoked when "reopen logs" is issued though ec_console.
Synopsis
#include "hooks/core/log_reopen.h"
| void **core_log_reopen** (
| closure)
; | |
Description
This is invoked when "reopen logs" is issued though ec_console. It is used to tell the module that the log files need to be reopened - it may or may not apply to a database-style logging facility. Note that this hook is also called when ec_rotate runs to rotate log files since that invokes "reopen logs".
- closure
-
A pointer to the closure function.
This hook returns void
.
This hook will be called in any
thread.
See Also
Was this page helpful?