From 906ce3166b3bc2c29e3f91381151c35be8c40beb Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 3 Jan 2014 16:27:21 -0500 Subject: [PATCH] Don't spam the logs with warnings that aren't really warnings Use debug instead --- datahub/recent-manager-provider.vala | 2 +- 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 810ed6a..67a4808 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 bd14e45..b914636 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 -- 1.8.4.2