------------------------------------------------------------
revno: 412
fixes bug: https://launchpad.net/bugs/931136
committer: Siegfried-Angel Gevatter Pujals <siegfr...@gevatter.com>
branch nick: bluebird
timestamp: Thu 2012-03-01 16:04:19 +0100
message:
  Obfuscate blacklist identifiers in log output so they
  don't end up in log files
modified:
  extensions/blacklist.vala


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/blacklist.vala'
--- extensions/blacklist.vala	2011-10-20 14:20:17 +0000
+++ extensions/blacklist.vala	2012-03-01 15:04:19 +0000
@@ -164,7 +164,7 @@
         {
             Event template = new Event.from_variant (event_template);
             blacklist.insert (template_id, template);
-            debug ("Added blacklist template: %s", template_id);
+            debug ("Added blacklist template: [#%u]", template_id.hash ());
             template_added (template_id, event_template);
             flush ();
         }
@@ -174,13 +174,13 @@
             Event event_template = blacklist.lookup (template_id);
             if (blacklist.remove (template_id))
             {
-                debug ("Removed blacklist template: %s", template_id);
+                debug ("Removed blacklist template: [#%u]", template_id.hash ());
                 template_removed (template_id, event_template.to_variant ());
                 flush ();
             }
             else
             {
-                debug ("Blacklist template \"%s\" not found.", template_id);
+                debug ("Blacklist template [#%u] not found.", template_id.hash ());
             }
         }
 

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to