Set debug level for gnc.backend.dbi automatically to DEBUG. This will ensure that all SQL statements are

logged into the gnucash.trace file.  This can provide vital information in case of problems.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18441 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff 2009-11-24 00:09:29 +00:00
parent c30ad8789b
commit a001f55fce

View File

@ -978,6 +978,10 @@ qof_backend_module_init( void )
prov->check_data_type = NULL;
qof_backend_register_provider( prov );
}
/* For now, set log level to DEBUG so that SQl statements will be put into
the gnucash.trace file. */
qof_log_set_level( log_module, QOF_LOG_DEBUG );
}
/* --------------------------------------------------------- */