diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-03 16:27:21 -0500 |
---|---|---|
committer | Seif Lotfy <seif@lotfy.com> | 2014-01-03 22:51:40 +0100 |
commit | c753eed33a0d5d7c7869cb9c75bfab0fccba51c5 (patch) | |
tree | 57794b229885e59a692013557b0ca75fd1b8a70b /datahub | |
parent | 42f0f6b0f17a584b703981b8a392c3225c7a8e98 (diff) | |
download | zeitgeist-c753eed33a0d5d7c7869cb9c75bfab0fccba51c5.tar.gz |
Don't spam the logs with warnings that aren't really warnings
Use debug instead
Signed-off-by: Seif Lotfy <seif@lotfy.com>
Diffstat (limited to 'datahub')
-rw-r--r-- | datahub/recent-manager-provider.vala | 2 | ||||
-rw-r--r-- | datahub/utils.vala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/datahub/recent-manager-provider.vala b/datahub/recent-manager-provider.vala index 810ed6a0..67a48086 100644 --- a/datahub/recent-manager-provider.vala +++ b/datahub/recent-manager-provider.vala @@ -129,7 +129,7 @@ public class RecentManagerGtk : DataProvider if (desktop_file == null) { - warning ("Desktop file for \"%s\" was not found, exec: %s, mime_type: %s", + debug ("Desktop file for \"%s\" was not found, exec: %s, mime_type: %s", uri, exec[0], ri.get_mime_type ()); continue; // this makes us sad panda } diff --git a/datahub/utils.vala b/datahub/utils.vala index bd14e45d..b9146360 100644 --- a/datahub/utils.vala +++ b/datahub/utils.vala @@ -44,7 +44,7 @@ public class Utils : Object } catch (Error err) { - warning ("Couldn't get file contents %s: %s", file.get_path (), err.message); + debug ("Couldn't get file contents %s: %s", file.get_path (), err.message); } contents = (string) contents_array; #else |