diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-27 13:07:01 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:32 -0400 |
commit | 9369beb85b3d65eabfce93b0f0ed59da824b5236 (patch) | |
tree | e9323e8ec55ca22ad489435fa9d1630a5a8dad11 /main.cc | |
parent | 771f39b69acbc78d5672e7cb95030260866eb33d (diff) | |
download | fork-ledger-9369beb85b3d65eabfce93b0f0ed59da824b5236.tar.gz fork-ledger-9369beb85b3d65eabfce93b0f0ed59da824b5236.tar.bz2 fork-ledger-9369beb85b3d65eabfce93b0f0ed59da824b5236.zip |
Everything works with optimization turned on now.
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -62,10 +62,10 @@ static int read_and_report(report_t * report, int argc, char * argv[], DEBUG_("ledger.session.cache", "2. use_cache = " << session.use_cache); - TRACE(1, "Initialization file is " << session.init_file); - TRACE(1, "Price database is " << session.price_db); - TRACE(1, "Binary cache is " << session.cache_file); - TRACE(1, "Main journal is " << session.data_file); + INFO("Initialization file is " << session.init_file); + INFO("Price database is " << session.price_db); + INFO("Binary cache is " << session.cache_file); + INFO("Journal file is " << session.data_file); if (! session.use_cache) INFO("Binary cache mechanism will not be used"); @@ -172,10 +172,12 @@ static int read_and_report(report_t * report, int argc, char * argv[], journal_t * journal = session.read_data(report->account); INFO_FINISH(journal); - TRACE_FINISH(entry_date, 2); - TRACE_FINISH(entry_details, 2); - TRACE_FINISH(entry_xacts, 2); - TRACE_FINISH(parsing_total, 2); + TRACE_FINISH(entry_text, 1); + TRACE_FINISH(entry_date, 1); + TRACE_FINISH(entry_details, 1); + TRACE_FINISH(entry_xacts, 1); + TRACE_FINISH(entries, 1); + TRACE_FINISH(parsing_total, 1); // Configure the output stream @@ -409,7 +411,7 @@ int main(int argc, char * argv[], char * envp[]) #if ! defined(FULL_DEBUG) ledger::do_cleanup = false; #endif - TRACE(1, "Ledger starting"); + INFO("Ledger starting"); std::auto_ptr<ledger::session_t> session(new ledger::session_t); |