summaryrefslogtreecommitdiff
path: root/trace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'trace.cc')
-rw-r--r--trace.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/trace.cc b/trace.cc
index 45f33c77..1d124657 100644
--- a/trace.cc
+++ b/trace.cc
@@ -1,4 +1,5 @@
#include "trace.h"
+#include "times.h"
#include "acconf.h"
namespace ledger {
@@ -8,8 +9,8 @@ bool trace_mode;
void trace(const std::string& cat, const std::string& str)
{
char buf[32];
- std::cerr << now.to_short_string() << " " << cat << ": " << str
- << std::endl;
+ std::cerr << boost::posix_time::to_simple_string(now) << " "
+ << cat << ": " << str << std::endl;
}
void trace_push(const std::string& cat, const std::string& str,