From 14349890e3d6f9d3cbfa16c98a13cf224970bc59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Wed, 13 Oct 2010 13:45:08 +0200 Subject: [PATCH] Document new loglevel configuration form. --- doc/guide.tex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/guide.tex b/doc/guide.tex index b2a3819b4..e6c01cd5a 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -5247,8 +5247,11 @@ An \ejabberd{} node writes two log files: \titem{erlang.log} is the Erlang/OTP system log, with the messages reported by Erlang/OTP using SASL (System Architecture Support Libraries) \end{description} -The option \term{loglevel} modifies the verbosity of the file ejabberd.log. The syntax is: -\esyntax{\{loglevel, Level\}.} +The option \term{loglevel} modifies the verbosity of the file ejabberd.log. The syntax is one of: +\begin{description} + \titem{\{loglevel, Level\}.} The standard form to set a global log level. + \titem{\{loglevel, \{Level, [\{Module, Level\}, ...]\}\}.} The given Erlang modules will be logged with specific log levels, all others will use the default log level. +\end{description} The possible \term{Level} are: \begin{description}