clear sasl.log

Hi, All.

Tell me please how I can clear sasl.log without restart ejabberd?
It is too long because http-bind (on v1.1.4) write too much info...

like

=CRASH REPORT==== 21-Jan-2008::09:27:45 ===
crasher:
pid: <0.21505.2217>
registered_name: []
error_info: {noproc,{gen_fsm,sync_send_all_state_event,
[<0.21395.2217>,{http_get,736569,15,1}]}}
initial_call: {ejabberd_http,
receive_headers,
[{state,
gen_tcp,
#Port<0.149834249>,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
"en",
[{["http-bind"],mod_http_bind},
{["jwchat"],mod_http_fileserver},
{["admin"],ejabberd_web_admin},
{["http-poll"],ejabberd_http_poll}],
false,
[]}]}
ancestors: [ejabberd_http_sup,ejabberd_sup,<0.36.0>]
messages: []
links: [#Port<0.149834249>,<0.242.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 6765
stack_size: 21
reductions: 4918
neighbours:

I know it was fixed in v2.0.0, but while it is beta, I can't make update...

I think the reopen-log

I think the reopen-log parameter of ejabberdctl may help in *nix systems.

Syndicate content