deskbar-applet r2082 - in trunk: . deskbar deskbar/handlers
- From: sebp svn gnome org
- To: svn-commits-list gnome org
- Subject: deskbar-applet r2082 - in trunk: . deskbar deskbar/handlers
- Date: Tue, 8 Apr 2008 17:55:24 +0100 (BST)
Author: sebp
Date: Tue Apr 8 17:55:24 2008
New Revision: 2082
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2082&view=rev
Log:
2008-04-08 Sebastian PÃlsterl <sebp cvs gnome org>
* deskbar/handlers/beagle-live.py:
Added additional logger calls
2008-04-08 Sebastian PÃlsterl <sebp cvs gnome org>
* deskbar/deskbar-applet.py
Display seconds for logging statements, too
Modified:
trunk/ChangeLog
trunk/deskbar/deskbar-applet.py
trunk/deskbar/handlers/beagle-live.py
Modified: trunk/deskbar/deskbar-applet.py
==============================================================================
--- trunk/deskbar/deskbar-applet.py (original)
+++ trunk/deskbar/deskbar-applet.py Tue Apr 8 17:55:24 2008
@@ -42,7 +42,7 @@
logging.info ("Running uninstalled, adding %s to system path" % abspath(root_dir))
# Setup logging
-logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s', datefmt='%m-%d %H:%M')
+logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s', datefmt='%m-%d %H:%M:%S')
# Delay loading of deskbar modules until we have the path set up,
# to allow running in uninstalled mode
Modified: trunk/deskbar/handlers/beagle-live.py
==============================================================================
--- trunk/deskbar/handlers/beagle-live.py (original)
+++ trunk/deskbar/handlers/beagle-live.py Tue Apr 8 17:55:24 2008
@@ -343,6 +343,7 @@
self._query_part_human.set_string(qstring)
self._beagle_query.add_part(self._query_part_human)
+ LOGGER.debug ("Sending beagle query (%r) for '%s'", self._beagle_query, qstring)
try:
self.beagle.send_request_async (self._beagle_query)
except GError, e:
@@ -369,6 +370,7 @@
self._emit_query_ready (qstring, hit_matches)
def _on_finished (self, query, response, qstring):
+ LOGGER.debug ("Beagle query (%r) for '%s' finished", query, qstring)
# FIXME: We have to cleanup the mess when we're really
# sure that no more results for the query term are coming
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]