demote some info-level messages to debug

This commit is contained in:
Sebastian Ramacher 2013-01-15 11:31:35 +01:00
parent 67d4ba0768
commit a6e6c3f108
2 changed files with 4 additions and 4 deletions

View file

@ -100,7 +100,7 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
while ((name = (char*) g_dir_read_name(dir)) != NULL) {
char* path = g_build_filename(plugindir, name, NULL);
if (g_file_test(path, G_FILE_TEST_IS_REGULAR) == 0) {
girara_info("%s is not a regular file. Skipping.", path);
girara_debug("%s is not a regular file. Skipping.", path);
g_free(path);
continue;
}
@ -182,7 +182,7 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
girara_error("could not register plugin %s", path);
zathura_plugin_free(plugin);
} else {
girara_info("successfully loaded plugin %s", path);
girara_debug("successfully loaded plugin %s", path);
zathura_plugin_version_function_t plugin_major = NULL, plugin_minor = NULL, plugin_rev = NULL;
g_module_symbol(handle, PLUGIN_VERSION_MAJOR_FUNCTION, (gpointer*) &plugin_major);

View file

@ -212,11 +212,11 @@ zathura_init(zathura_t* zathura)
girara_setting_get(zathura->ui.session, "database", &database);
if (g_strcmp0(database, "plain") == 0) {
girara_info("Using plain database backend.");
girara_debug("Using plain database backend.");
zathura->database = zathura_plaindatabase_new(zathura->config.data_dir);
#ifdef WITH_SQLITE
} else if (g_strcmp0(database, "sqlite") == 0) {
girara_info("Using sqlite database backend.");
girara_debug("Using sqlite database backend.");
char* tmp = g_build_filename(zathura->config.data_dir, "bookmarks.sqlite", NULL);
zathura->database = zathura_sqldatabase_new(tmp);
g_free(tmp);