diff --git a/src/engine/Period.c b/src/engine/Period.c index 8b28103f2f..f70060d5b1 100644 --- a/src/engine/Period.c +++ b/src/engine/Period.c @@ -26,7 +26,7 @@ Open questions: how do we deal with the backends ??? #include "TransactionP.h" /* This static indicates the debugging module that this .o belongs to. */ -static short module = MOD_ENGINE; +static short module = MOD_BOOK; /* ================================================================ */ /* Reparent transaction to new book. This routine does this by diff --git a/src/engine/gnc-engine-util.c b/src/engine/gnc-engine-util.c index 5e4abe32d5..08e70c2f4b 100644 --- a/src/engine/gnc-engine-util.c +++ b/src/engine/gnc-engine-util.c @@ -63,6 +63,7 @@ static gncLogLevel loglevel[MOD_LAST + 1] = GNC_LOG_WARNING, /* SQL TXN */ GNC_LOG_WARNING, /* KVP */ GNC_LOG_DEBUG, /* SX */ + GNC_LOG_WARNING, /* BOOK */ }; static FILE *fout = NULL; diff --git a/src/engine/gnc-engine-util.h b/src/engine/gnc-engine-util.h index 7ae0fb5d85..57da9d2af0 100644 --- a/src/engine/gnc-engine-util.h +++ b/src/engine/gnc-engine-util.h @@ -61,7 +61,8 @@ typedef enum MOD_TXN = 14, MOD_KVP = 15, MOD_SX = 16, - MOD_LAST = 16 + MOD_BOOK = 17, + MOD_LAST = 17 } gncModuleType; typedef enum