[24464] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r24055 - in trunk/debathena/debathena/metrics: debathena/metrics debian

daemon@ATHENA.MIT.EDU (Evan Broder)
Tue Oct 6 15:14:41 2009

X-Barracuda-Envelope-From: broder@mit.edu
Date: Tue, 6 Oct 2009 15:14:27 -0400
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200910061914.n96JERMR005685@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: broder
Date: 2009-10-06 15:14:27 -0400 (Tue, 06 Oct 2009)
New Revision: 24055

Modified:
   trunk/debathena/debathena/metrics/debathena/metrics/gatherer.py
   trunk/debathena/debathena/metrics/debian/changelog
Log:
In metrics:
  * Switch to facility local0.
  * Remove an extraneous space at the beginning of the log messages.


Modified: trunk/debathena/debathena/metrics/debathena/metrics/gatherer.py
===================================================================
--- trunk/debathena/debathena/metrics/debathena/metrics/gatherer.py	2009-10-06 18:48:56 UTC (rev 24054)
+++ trunk/debathena/debathena/metrics/debathena/metrics/gatherer.py	2009-10-06 19:14:27 UTC (rev 24055)
@@ -35,7 +35,7 @@
 DBUS_INTERFACE = 'edu.mit.debathena.Metrics'
 
 
-LOG_LEVEL = syslog.LOG_DAEMON | syslog.LOG_INFO
+LOG_LEVEL = syslog.LOG_LOCAL0 | syslog.LOG_INFO
 LOG_SERVER = ('wslogger.mit.edu', 514)
 
 
@@ -128,7 +128,7 @@
 
         s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
         for l in lines:
-            s.sendto('<%d> debathena-metrics %s: %s\n' % (LOG_LEVEL, self.session_uuid, l),
+            s.sendto('<%d>debathena-metrics %s: %s\n' % (LOG_LEVEL, self.session_uuid, l),
                      LOG_SERVER)
 
         self.loop.quit()

Modified: trunk/debathena/debathena/metrics/debian/changelog
===================================================================
--- trunk/debathena/debathena/metrics/debian/changelog	2009-10-06 18:48:56 UTC (rev 24054)
+++ trunk/debathena/debathena/metrics/debian/changelog	2009-10-06 19:14:27 UTC (rev 24055)
@@ -1,3 +1,10 @@
+debathena-metrics (1.2) unstable; urgency=low
+
+  * Switch to facility local0.
+  * Remove an extraneous space at the beginning of the log messages.
+
+ -- Evan Broder <broder@mit.edu>  Tue, 06 Oct 2009 15:14:04 -0400
+
 debathena-metrics (1.1) unstable; urgency=low
 
   * Fix a typo in the install-pkg script.


home help back first fref pref prev next nref lref last post