]> git.pld-linux.org Git - packages/syslog-ng.git/commitdiff
- added xferlog
authorPaweł Gołaszewski <blues@pld-linux.org>
Sun, 7 Nov 2004 13:57:37 +0000 (13:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    syslog-ng.conf -> 1.19
    syslog-ng.logrotate -> 1.9

syslog-ng.conf
syslog-ng.logrotate

index 27efab32eead532a75939a3d3348cc6582fff078..eae277a0440458e25465a9ab209957a55ec022a4 100644 (file)
@@ -43,6 +43,7 @@ destination daemon    { file("/var/log/daemon"); };
 destination lpr                { file("/var/log/lpr"); };
 destination user       { file("/var/log/user"); };
 destination ppp                { file("/var/log/ppp"); };
+destination ftp                { file("/var/log/xferlog"); };
 
 # Log iptables messages to separate file
 destination iptables   { file("/var/log/iptables"); };
@@ -59,6 +60,7 @@ filter f_user         { facility(user); };
 filter f_uucp          { facility(uucp); };
 filter f_ppp           { facility(daemon) and program(pppd) or program(chat); };
 filter f_news          { facility(news); };
+filter f_ftp           { facility(ftp); };
 filter f_messages      { level(info..warn) 
                        and not facility(auth, authpriv, cron, lpr, mail, news, daemon); };
 
@@ -100,6 +102,7 @@ log { source(src); filter(f_news); filter(p_warn);  destination(newsnotice); };
 log { source(src); filter(f_news); filter(p_notice);   destination(newsnotice); };
 log { source(src); filter(f_news); filter(p_info);     destination(newsnotice); };
 log { source(src); filter(f_news); filter(p_debug);    destination(newsnotice); };
+log { source(src); filter(f_ftp);                      destination(ftp); };
 
 #log { source(src); filter(f_iptables);        destination(iptables); };
 
index 7c8ce13d6988371c559d846f8cf3897c33478468..2882bfab0fa3c62ff27bd294d07b6df89059871c 100644 (file)
     endscript
 }
 
+/var/log/xferlog {
+    postrotate
+       /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1
+    endscript
+}
+
 /var/log/mail/* {
     olddir /var/log/archiv/mail
     postrotate
This page took 0.121271 seconds and 4 git commands to generate.