Skip to main content

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); |   |

void * <var class="pdparam">closure</var>;

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".

Parameters

closure

A pointer to the closure function.

Return Values

This hook returns void.

Threading

This hook will be called in any thread.

See Also

Was this page helpful?