From: TJ S. <cas...@us...> - 2010-04-19 20:10:45
|
Update of /cvsroot/proftp/proftpd/doc/howto In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv23083/doc/howto Modified Files: Logging.html Log Message: Add Logging FAQ about logging xferlog data to syslog. Index: Logging.html =================================================================== RCS file: /cvsroot/proftp/proftpd/doc/howto/Logging.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Logging.html 16 Apr 2010 17:45:14 -0000 1.3 +++ Logging.html 19 Apr 2010 20:10:35 -0000 1.4 @@ -205,6 +205,23 @@ scoreboard file is determined by the <a href="http://www.proftpd.org/docs/directives/linked/config_ref_ScoreboardFile.html"><code>ScoreboardFile</code></a> directive. +<p><a name="FAQ"></a> +<b>Frequently Asked Questions</b><br> + +<p> +<font color=red>Question</font>: How can I direct the <code>TransferLog</code> +logging to syslog?<br> +<font color=blue>Answer</font>: It is not currently possible to configure +proftpd to log <code>TransferLog</code> data to syslog. <b>However</b>, you +<i>can</i> configure an <code>ExtendedLog</code> which logs to syslog, and +which uses a <code>LogFormat</code> to log the data you wish. For example: +<pre> + LogFormat xfer "%h %l %u %t\"%r\" %s %b" + ExtendedLog syslog:notice xfer +</pre> +tells proftpd to log that <code>LogFormat</code> via syslog at the "notice" +syslog level. + <p> <hr> Last Updated: <i>$Date$</i><br> |