From 273631c242646baca7ea62d723059973a7ad6839 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Mon, 18 Nov 2013 23:22:48 +1000 Subject: New option support: log_rotate_count --- doc/guide.tex | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/guide.tex') diff --git a/doc/guide.tex b/doc/guide.tex index 7a469de3b..524007965 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -6069,6 +6069,15 @@ The ejabberdctl command \term{reopen-log} reopens the log files, and also renames the old ones if you didn't rename them. +The option \term{log\_rotate\_count} defines the number of rotated files to keep +by \term{reopen-log} command. +Every such file has a numeric suffix. The exact format is: +\begin{description} + \titem{log\_rotate\_count: N} The default value is 1, + which means only \term{ejabberd.log.0}, \term{error.log.0} + and \term{crash.log.0} will be kept. +\end{description} + \makesection{debugconsole}{Debug Console} The Debug Console is an Erlang shell attached to an already running \ejabberd{} server. -- cgit v1.2.3