[mirrorbrain-commits] [opensuse-svn] r7644 - in trunk/tools/download-redirector-v2: . mirrorprobe tools

From: Novell Forge SVN <noreply_at_novell.com>
Date: Mon, 29 Jun 2009 05:34:14 -0600 (MDT)
Author: poeml
Date: 2009-06-29 05:34:11 -0600 (Mon, 29 Jun 2009)
New Revision: 7644

Modified:
   trunk/tools/download-redirector-v2/INSTALL
   trunk/tools/download-redirector-v2/mirrorprobe/mirrorprobe.py
   trunk/tools/download-redirector-v2/tools/mirrorprobe-logrotate
Log:
mirrorprobe:
- log file moved to /var/log/mirrorbrain/mirrorprobe.log.


Modified: trunk/tools/download-redirector-v2/INSTALL
===================================================================
--- trunk/tools/download-redirector-v2/INSTALL	2009-06-29 09:20:53 UTC (rev 7643)
+++ trunk/tools/download-redirector-v2/INSTALL	2009-06-29 11:34:11 UTC (rev 7644)
_at_@ -165,8 +165,6 @@
   dbname = mb_samba
   
   [mirrorprobe]
-  logfile = /var/log/mirrorprobe.log
-  loglevel = INFO
   mailto = your_mail_at_example.com, another_mail_at_example.com
 
 

Modified: trunk/tools/download-redirector-v2/mirrorprobe/mirrorprobe.py
===================================================================
--- trunk/tools/download-redirector-v2/mirrorprobe/mirrorprobe.py	2009-06-29 09:20:53 UTC (rev 7643)
+++ trunk/tools/download-redirector-v2/mirrorprobe/mirrorprobe.py	2009-06-29 11:34:11 UTC (rev 7644)
_at_@ -121,7 +121,7 @@
 
 
     LOGLEVEL = config.mirrorprobe.get('loglevel', 'INFO')
-    LOGFILE = config.mirrorprobe.get('logfile', '/var/log/mirrorprobe.log')
+    LOGFILE = config.mirrorprobe.get('logfile', '/var/log/mirrorbrain/mirrorprobe.log')
     MAILTO = config.mirrorprobe.get('mailto', 'root_at_localhost')
 
     #

Modified: trunk/tools/download-redirector-v2/tools/mirrorprobe-logrotate
===================================================================
--- trunk/tools/download-redirector-v2/tools/mirrorprobe-logrotate	2009-06-29 09:20:53 UTC (rev 7643)
+++ trunk/tools/download-redirector-v2/tools/mirrorprobe-logrotate	2009-06-29 11:34:11 UTC (rev 7644)
_at_@ -8,3 +8,13 @@
     create 660 root mirrorbrain
 }
 
+/var/log/mirrorbrain/mirrorprobe.log {
+    compress
+    dateext
+    rotate 99
+    size=+16M
+    notifempty
+    missingok
+    create 640 mirrorbrain mirrorbrain
+}
+

_______________________________________________
Opensuse-svn mailing list
Opensuse-svn_at_forge.novell.com
http://forge.novell.com/mailman/listinfo/opensuse-svn


_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Mon Jun 29 2009 - 11:34:53 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT