summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2013-11-18 23:22:48 +1000
committerChristophe Romain <christophe.romain@process-one.net>2014-07-02 14:59:05 +0200
commit273631c242646baca7ea62d723059973a7ad6839 (patch)
tree8ab7f6d8570f7c8583cd455ef0422b81c4f9ac13 /doc
parentSupport new options: log_rotate_size and log_rate_limit (diff)
New option support: log_rotate_count
Diffstat (limited to 'doc')
-rw-r--r--doc/guide.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index 7a469de3..52400796 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.