Don't set the log file in gnc_module_init

This should fix the logging to stderr since r22419.
gnc_module_init used to change the log path to stderr.
Presumably this was needed before, as logging used to be initialized
after module initialization. This has now changed, so gnc_module_init
can make use of qoflog settings as chosen by the user (which by default
means logging to gnucash.trace).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22425 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2012-09-24 17:06:03 +00:00
parent 7ddef0069b
commit fabd3553be

View File

@ -131,7 +131,6 @@ gnc_module_system_init(void)
if (loaded_modules) if (loaded_modules)
return; return;
qof_log_init_filename_special ("stderr");
loaded_modules = g_hash_table_new(g_direct_hash, g_direct_equal); loaded_modules = g_hash_table_new(g_direct_hash, g_direct_equal);
/* now crawl the GNC_MODULE_PATH to find likely libraries */ /* now crawl the GNC_MODULE_PATH to find likely libraries */