summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-30 08:24:37 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:34 -0400
commit3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba (patch)
treedc04c7feaeab4ce255f4f74d47325f4efb9f8314 /src/session.cc
parent83fc097062c3380091556c6a4b703d28821d5464 (diff)
downloadfork-ledger-3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba.tar.gz
fork-ledger-3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba.tar.bz2
fork-ledger-3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba.zip
Changed some of the logging macro names.
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/session.cc b/src/session.cc
index 78fc2596..b7b53c44 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -59,11 +59,11 @@ journal_t * session_t::read_data(const string& master_account)
unsigned int entry_count = 0;
- DEBUG_("ledger.cache", "3. use_cache = " << use_cache);
+ DEBUG("ledger.cache", "3. use_cache = " << use_cache);
if (use_cache && ! cache_file.empty() &&
! data_file.empty()) {
- DEBUG_("ledger.cache", "using_cache " << cache_file);
+ DEBUG("ledger.cache", "using_cache " << cache_file);
cache_dirty = true;
if (access(cache_file.c_str(), R_OK) != -1) {
std::ifstream stream(cache_file.c_str());
@@ -90,12 +90,12 @@ journal_t * session_t::read_data(const string& master_account)
if (read_journal(journal->price_db, journal)) {
throw_(exception, "Entries not allowed in price history file");
} else {
- DEBUG_("ledger.cache", "read price database " << journal->price_db);
+ DEBUG("ledger.cache", "read price database " << journal->price_db);
journal->sources.pop_back();
}
}
- DEBUG_("ledger.cache", "rejected cache, parsing " << data_file);
+ DEBUG("ledger.cache", "rejected cache, parsing " << data_file);
if (data_file == "-") {
use_cache = false;
journal->sources.push_back("<stdin>");