[ejabberd] Basic Question

Konstantin Khomoutov flatworm at users.sourceforge.net
Thu Jan 21 20:36:48 MSK 2010

On Thu, 21 Jan 2010 09:20:10 -0800 (PST)
Christina Arsenault <ca_arsenault at yahoo.com> wrote:

> The debug was turned up on my server and I am left with a 69 GB
> ejabberd.log. :)
> Will it allow me to delete it while my server is running and in use?

Yes, rename the log file then execute
# ejabberdctl reopen-log
and the log will be created afresh with its original name.
You can then safely delete or archive the old renamed one.

But in general better look at logrotate -- the logs
are suposed to be rotated on a regular basis.

More information about the ejabberd mailing list