mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
c30ad8789b
commit
a001f55fce
@ -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 );
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user