[Gnucash-changes] r13027 - gnucash/trunk - reverting r12999 and implementing a set of default log modules

Derek Atkins warlord at MIT.EDU
Mon Jan 30 17:08:19 EST 2006


Neil,

Thanks for this.  I think this certainly solves the problem
without changing the QOF code.  I only wish we had done this
back when the logging enum was removed "back in the day".

Keep up the nice work..

-derek

Neil Williams <codehelp at cvs.gnucash.org> writes:

> reverting r12999 and implementing a set of default log modules
[snip]
> + * */
> +void gnc_log_default(void)
> +{
> +	qof_log_set_default(QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_ENGINE, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_ACCOUNT, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_SX, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_QUERY, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_SCRUB, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_LOT, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_COMMODITY, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_BACKEND, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_PRICE, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_BUSINESS, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_IO, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_BOOK, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_GUI, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_GUILE, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_LEDGER, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_REGISTER, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_HTML, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_PREFS, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_IMPORT, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_DRUID, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_TEST, QOF_LOG_DETAIL);
> +	qof_log_set_level(GNC_MOD_BUDGET, QOF_LOG_DETAIL);
> +}
[snip]
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list