[Checkins] SVN: ZConfig/trunk/doc/zconfig.tex provide documentation about the SMTPHandler

Christian Zagrodnick cz at gocept.com
Tue Apr 13 06:42:43 EDT 2010


Log message for revision 110771:
  provide documentation about the SMTPHandler
  
  

Changed:
  U   ZConfig/trunk/doc/zconfig.tex

-=-
Modified: ZConfig/trunk/doc/zconfig.tex
===================================================================
--- ZConfig/trunk/doc/zconfig.tex	2010-04-13 10:33:54 UTC (rev 110770)
+++ ZConfig/trunk/doc/zconfig.tex	2010-04-13 10:42:43 UTC (rev 110771)
@@ -1249,7 +1249,26 @@
 the log handlers) are the same as those accepted by the
 \function{time.strftime()} function.
 
+\subsubsection{Configuring the email logger}
 
+ZConfig has support for Python's STMTPHandler via the <email-notifier>
+handler.
+
+\begin{verbatim}
+<eventlog>
+  <email-notifier>
+    to sysadmin at example.com
+    to john at example.com
+    from zlog-user at example.com
+    level fatal
+    smtp-username john
+    smtp-password johnpw
+  </email-notifier>
+</eventlog>
+\end{verbatim}
+  
+For details about the SMTPHandler see the Python \module{logging} module.
+
 \begin{seealso}
   \seepep{282}{A Logging System}
          {The proposal which described the logging feature for



More information about the checkins mailing list