Rename erlang log file sasl.log to erlang.log (EJAB-783)
SVN Revision: 2568
This commit is contained in:
parent
3940a6bab3
commit
98f93104a7
|
@ -417,7 +417,7 @@ to install <TT>ejabberd</TT>.</P><P>The files and directories created are, by de
|
|||
</DD><DT CLASS="dt-description"><B><TT>/var/log/ejabberd/</TT></B></DT><DD CLASS="dd-description"> Log directory (see section <A HREF="#logfiles">7.1</A>):
|
||||
<DL CLASS="description"><DT CLASS="dt-description">
|
||||
<B><TT>ejabberd.log</TT></B></DT><DD CLASS="dd-description"> ejabberd service log
|
||||
</DD><DT CLASS="dt-description"><B><TT>sasl.log</TT></B></DT><DD CLASS="dd-description"> Erlang/OTP system log
|
||||
</DD><DT CLASS="dt-description"><B><TT>erlang.log</TT></B></DT><DD CLASS="dd-description"> Erlang/OTP system log
|
||||
</DD></DL>
|
||||
</DD></DL><P> <A NAME="start"></A> </P><!--TOC subsection Start-->
|
||||
<H3 CLASS="subsection"><!--SEC ANCHOR --><A NAME="htoc13">2.4.5</A>  <A HREF="#start">Start</A></H3><!--SEC END --><P> <A NAME="start"></A>
|
||||
|
@ -3320,8 +3320,10 @@ Starts the Erlang system detached from the system console.
|
|||
Tell Erlang runtime system to start the <TT>ejabberd</TT> application.
|
||||
</DD><DT CLASS="dt-description"><B><TT>-mnesia dir "/var/lib/ejabberd/"</TT></B></DT><DD CLASS="dd-description">
|
||||
Specify the Mnesia database directory.
|
||||
</DD><DT CLASS="dt-description"><B><TT>-sasl sasl_error_logger {file, "/var/log/ejabberd/sasl.log"}</TT></B></DT><DD CLASS="dd-description">
|
||||
</DD><DT CLASS="dt-description"><B><TT>-sasl sasl_error_logger {file, "/var/log/ejabberd/erlang.log"}</TT></B></DT><DD CLASS="dd-description">
|
||||
Path to the Erlang/OTP system log file.
|
||||
SASL here means “System Architecture Support Libraries”
|
||||
not “Simple Authentication and Security Layer”.
|
||||
</DD><DT CLASS="dt-description"><B><TT>+K [true|false]</TT></B></DT><DD CLASS="dd-description">
|
||||
Kernel polling.
|
||||
</DD><DT CLASS="dt-description"><B><TT>-smp [auto|enable|disable]</TT></B></DT><DD CLASS="dd-description">
|
||||
|
@ -3726,13 +3728,13 @@ domain.</P><P> <A NAME="servicelb"></A> </P><!--TOC section Service Load-Balanci
|
|||
</LI></UL><P>If the value corresponding to the criteria is the same, the same component instance in the cluster will be used.</P><P> <A NAME="lbbuckets"></A> </P><!--TOC subsection Load-Balancing Buckets-->
|
||||
<H3 CLASS="subsection"><!--SEC ANCHOR --><A NAME="htoc90">6.3.3</A>  <A HREF="#lbbuckets">Load-Balancing Buckets</A></H3><!--SEC END --><P> <A NAME="lbbuckets"></A>
|
||||
</P><P>When there is a risk of failure for a given component, domain balancing can cause service trouble. If one component is failing the service will not work correctly unless the sessions are rebalanced.</P><P>In this case, it is best to limit the problem to the sessions handled by the failing component. This is what the <TT>domain_balancing_component_number</TT> option does, making the load balancing algorithm not dynamic, but sticky on a fix number of component instances.</P><P>The syntax is:
|
||||
</P><DL CLASS="description"><DT CLASS="dt-description"><B><TT>{domain_balancing_component_number, "component.example.com", N}.</TT></B></DT></DL><P> <A NAME="debugging"></A> </P><!--TOC chapter Debugging-->
|
||||
</P><DL CLASS="description"><DT CLASS="dt-description"><B><TT>{domain_balancing_component_number, "component.example.com", Number}.</TT></B></DT></DL><P> <A NAME="debugging"></A> </P><!--TOC chapter Debugging-->
|
||||
<H1 CLASS="chapter"><!--SEC ANCHOR --><A NAME="htoc91">Chapter 7</A>  <A HREF="#debugging">Debugging</A></H1><!--SEC END --><P> <A NAME="debugging"></A>
|
||||
</P><P> <A NAME="logfiles"></A> </P><!--TOC section Log Files-->
|
||||
<H2 CLASS="section"><!--SEC ANCHOR --><A NAME="htoc92">7.1</A>  <A HREF="#logfiles">Log Files</A></H2><!--SEC END --><P> <A NAME="logfiles"></A> </P><P>An <TT>ejabberd</TT> node writes two log files:
|
||||
</P><DL CLASS="description"><DT CLASS="dt-description">
|
||||
<B><TT>ejabberd.log</TT></B></DT><DD CLASS="dd-description"> is the ejabberd service log, with the messages reported by <TT>ejabberd</TT> code
|
||||
</DD><DT CLASS="dt-description"><B><TT>sasl.log</TT></B></DT><DD CLASS="dd-description"> is the Erlang/OTP system log, with the messages reported by Erlang/OTP using SASL (System Architecture Support Libraries)
|
||||
</DD><DT CLASS="dt-description"><B><TT>erlang.log</TT></B></DT><DD CLASS="dd-description"> is the Erlang/OTP system log, with the messages reported by Erlang/OTP using SASL (System Architecture Support Libraries)
|
||||
</DD></DL><P>The option <TT>loglevel</TT> modifies the verbosity of the file ejabberd.log. The syntax is:
|
||||
</P><DL CLASS="description"><DT CLASS="dt-description"><B><TT>{loglevel, Level}.</TT></B></DT></DL><P>The possible <TT>Level</TT> are:
|
||||
</P><DL CLASS="description"><DT CLASS="dt-description">
|
||||
|
|
|
@ -415,7 +415,7 @@ The files and directories created are, by default:
|
|||
\titem{/var/log/ejabberd/} Log directory (see section~\ref{logfiles}):
|
||||
\begin{description}
|
||||
\titem{ejabberd.log} ejabberd service log
|
||||
\titem{sasl.log} Erlang/OTP system log
|
||||
\titem{erlang.log} Erlang/OTP system log
|
||||
\end{description}
|
||||
\end{description}
|
||||
|
||||
|
@ -4252,8 +4252,10 @@ The command line parameters:
|
|||
Tell Erlang runtime system to start the \ejabberd{} application.
|
||||
\titem{-mnesia dir "/var/lib/ejabberd/"}
|
||||
Specify the Mnesia database directory.
|
||||
\titem{-sasl sasl\_error\_logger \{file, "/var/log/ejabberd/sasl.log"\}}
|
||||
\titem{-sasl sasl\_error\_logger \{file, "/var/log/ejabberd/erlang.log"\}}
|
||||
Path to the Erlang/OTP system log file.
|
||||
SASL here means ``System Architecture Support Libraries''
|
||||
not ``Simple Authentication and Security Layer''.
|
||||
\titem{+K [true|false]}
|
||||
Kernel polling.
|
||||
\titem{-smp [auto|enable|disable]}
|
||||
|
@ -4884,7 +4886,7 @@ The syntax is:
|
|||
An \ejabberd{} node writes two log files:
|
||||
\begin{description}
|
||||
\titem{ejabberd.log} is the ejabberd service log, with the messages reported by \ejabberd{} code
|
||||
\titem{sasl.log} is the Erlang/OTP system log, with the messages reported by Erlang/OTP using SASL (System Architecture Support Libraries)
|
||||
\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:
|
||||
|
|
|
@ -102,7 +102,7 @@ if [ "$EJABBERD_MSGS_PATH" = "" ]; then
|
|||
fi
|
||||
|
||||
EJABBERD_LOG_PATH=$LOGS_DIR/ejabberd.log
|
||||
SASL_LOG_PATH=$LOGS_DIR/sasl.log
|
||||
SASL_LOG_PATH=$LOGS_DIR/erlang.log
|
||||
DATETIME=`date "+%Y%m%d-%H%M%S"`
|
||||
ERL_CRASH_DUMP=$LOGS_DIR/erl_crash_$DATETIME.dump
|
||||
ERL_INETRC=$ETCDIR/inetrc
|
||||
|
|
|
@ -180,7 +180,7 @@ SectionIn 1 RO
|
|||
'-sname ejabberd -pa ebin \
|
||||
-env EJABBERD_LOG_PATH log/ejabberd.log \
|
||||
-s ejabberd -kernel inetrc \"./inetrc\" -mnesia dir \"spool\" \
|
||||
-sasl sasl_error_logger {file,\"log/sasl.log\"}' \
|
||||
-sasl sasl_error_logger {file,\"log/erlang.log\"}' \
|
||||
$INSTDIR\win32\ejabberd.ico
|
||||
CreateShortCut "$0\Edit Config.lnk" "%SystemRoot%\system32\notepad.exe" \
|
||||
"$INSTDIR\ejabberd.cfg"
|
||||
|
@ -215,7 +215,7 @@ SectionIn 1 RO
|
|||
-args "-s ejabberd -pa ebin \
|
||||
-kernel inetrc \\\"./inetrc\\\" \
|
||||
-env EJABBERD_LOG_PATH log/ejabberd.log \
|
||||
-sasl sasl_error_logger {file,\\\"log/sasl.log\\\"} \
|
||||
-sasl sasl_error_logger {file,\\\"log/erlang.log\\\"} \
|
||||
-mnesia dir \\\"spool\\\"" -d'
|
||||
Pop $0
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ ERL=erl
|
|||
here=`which "$0" 2>/dev/null || echo .`
|
||||
base="`dirname $here`/.."
|
||||
ROOTDIR=`(cd "$base"; echo $PWD)`
|
||||
SASL_LOG_PATH=$ROOTDIR/sasl.log
|
||||
SASL_LOG_PATH=$ROOTDIR/erlang.log
|
||||
EJABBERD_DB=$ROOTDIR/database/$NODE
|
||||
EJABBERD_EBIN=$ROOTDIR/src
|
||||
export EJABBERD_LOG_PATH=$ROOTDIR/ejabberd.log
|
||||
|
|
Loading…
Reference in New Issue