gnucash unstable: Reduce warning about failing to dlopen a module to debug.

John Ralls jralls at code.gnucash.org
Mon Feb 19 15:28:27 EST 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/98659344 (commit)
	from  https://github.com/Gnucash/gnucash/commit/62fd179f (commit)



commit 9865934410e03bafe4c9058269701f2ce1386a4f
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Feb 19 12:26:29 2018 -0800

    Reduce warning about failing to dlopen a module to debug.
    
    There's another warning for runtime about not being able to load
    a specified module and this one creates a lot of noise during a parallel
    build.

diff --git a/libgnucash/gnc-module/gnc-module.c b/libgnucash/gnc-module/gnc-module.c
index 824cd53..e4c164e 100644
--- a/libgnucash/gnc-module/gnc-module.c
+++ b/libgnucash/gnc-module/gnc-module.c
@@ -300,7 +300,7 @@ gnc_module_get_info(const char * fullpath)
     gmodule = g_module_open(fullpath, G_MODULE_BIND_LAZY);
     if (gmodule == NULL)
     {
-        g_warning("Failed to dlopen() '%s': %s\n", fullpath, g_module_error());
+        g_debug("Failed to dlopen() '%s': %s\n", fullpath, g_module_error());
         return NULL;
     }
 



Summary of changes:
 libgnucash/gnc-module/gnc-module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list