mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
* src/ejabberd_ctl.erl: API improvement: Added reopen_log_hook (EJAB-565)
SVN Revision: 1234
This commit is contained in:
parent
295da9cf02
commit
4cf68c2f9f
@ -1,5 +1,8 @@
|
||||
2008-03-15 Mickael Remond <mremond@process-one.net>
|
||||
|
||||
* src/ejabberd_ctl.erl: API improvement: Added
|
||||
reopen_log_hook (EJAB-565)
|
||||
|
||||
* src/ejabberd_s2s.erl: API improvement: Added s2s_connect_hook
|
||||
(EJAB-566).
|
||||
|
||||
|
@ -97,6 +97,8 @@ process(["restart"]) ->
|
||||
?STATUS_SUCCESS;
|
||||
|
||||
process(["reopen-log"]) ->
|
||||
ejabberd_hooks:run(reopen_log_hook, []),
|
||||
%% TODO: Use the Reopen log API for logger_h ?
|
||||
ejabberd_logger_h:reopen_log(),
|
||||
?STATUS_SUCCESS;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user