r15547 - gnucash/trunk/src - Change log-leveling for a few messages.
Josh Sled
jsled at cvs.gnucash.org
Fri Feb 9 21:31:36 EST 2007
Author: jsled
Date: 2007-02-09 21:31:35 -0500 (Fri, 09 Feb 2007)
New Revision: 15547
Trac: http://svn.gnucash.org/trac/changeset/15547
Modified:
gnucash/trunk/src/app-utils/gfec.c
gnucash/trunk/src/engine/gnc-engine.c
gnucash/trunk/src/register/ledger-core/split-register.c
Log:
Change log-leveling for a few messages.
Modified: gnucash/trunk/src/app-utils/gfec.c
===================================================================
--- gnucash/trunk/src/app-utils/gfec.c 2007-02-10 02:30:43 UTC (rev 15546)
+++ gnucash/trunk/src/app-utils/gfec.c 2007-02-10 02:31:35 UTC (rev 15547)
@@ -176,9 +176,9 @@
gboolean
gfec_try_load(gchar *fn)
{
- g_message("looking for %s", fn);
+ g_debug("looking for %s", fn);
if (g_file_test(fn, G_FILE_TEST_EXISTS)) {
- g_message("trying to load %s", fn);
+ g_debug("trying to load %s", fn);
error_in_scm_eval = FALSE;
gfec_eval_file(fn, error_handler);
return !error_in_scm_eval;
Modified: gnucash/trunk/src/engine/gnc-engine.c
===================================================================
--- gnucash/trunk/src/engine/gnc-engine.c 2007-02-10 02:30:43 UTC (rev 15546)
+++ gnucash/trunk/src/engine/gnc-engine.c 2007-02-10 02:31:35 UTC (rev 15547)
@@ -105,11 +105,11 @@
}
else
{
- g_message("failed to load %s from %s\n", lib->lib, pkglibdir);
+ g_warning("failed to load %s from %s\n", lib->lib, pkglibdir);
/* If this is a required library, stop now! */
if (lib->required)
{
- g_message("required library %s not found.\n", lib->lib);
+ g_critical("required library %s not found.\n", lib->lib);
}
}
}
Modified: gnucash/trunk/src/register/ledger-core/split-register.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register.c 2007-02-10 02:30:43 UTC (rev 15546)
+++ gnucash/trunk/src/register/ledger-core/split-register.c 2007-02-10 02:31:35 UTC (rev 15547)
@@ -1375,7 +1375,7 @@
// FIXME: For that matter, how could an open pending
// transaction ever not be the current trans?
if (xaccTransIsOpen (pending_trans)) {
- g_message("Impossible? commiting pending %p", pending_trans);
+ g_warning("Impossible? commiting pending %p", pending_trans);
xaccTransCommitEdit (pending_trans);
} else if (pending_trans)
g_assert_not_reached();
More information about the gnucash-changes
mailing list