[grilo] core: Do not print warning if initializing plugin fails



commit a6b29392d99ac79f8fb8d78f4b6267c8e9fd8621
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Mon May 23 08:23:05 2011 +0000

    core: Do not print warning if initializing plugin fails
    
    If plugin is perfectly valid, but initializing it fails because no required
    configuration has been provided, then log it as information instead of warning,
    as it is a typical use case.
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 src/grl-plugin-registry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/grl-plugin-registry.c b/src/grl-plugin-registry.c
index 16e2329..355e0da 100644
--- a/src/grl-plugin-registry.c
+++ b/src/grl-plugin-registry.c
@@ -654,7 +654,7 @@ grl_plugin_registry_load (GrlPluginRegistry *registry,
     g_free (plugin_info->filename);
     plugin_info->filename = NULL;
     g_hash_table_remove (registry->priv->plugins, plugin->plugin_id);
-    GRL_WARNING ("Failed to initialize plugin: '%s'", path);
+    GRL_INFO ("Failed to initialize plugin: '%s'", path);
     g_set_error (error,
                  GRL_CORE_ERROR,
                  GRL_CORE_ERROR_LOAD_PLUGIN_FAILED,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]