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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Derek Atkins
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 <[hidden email]> 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
       [hidden email]                        PGP key available
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel