Permalink
Browse files

use ios::out instead of ios::app to open logfiles

  • Loading branch information...
1 parent 05d61a8 commit 5c35ee8d9c97d2e8f7b56f9e45cf03570c465a1a @Neverlord Neverlord committed Mar 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/logging.cpp
View
@@ -84,7 +84,7 @@ class logging_impl : public logging {
void operator()() {
ostringstream fname;
fname << "libcppa_" << getpid() << "_" << time(0) << ".log";
- fstream out(fname.str().c_str(), ios::app);
+ fstream out(fname.str().c_str(), ios::out);
unique_ptr<log_event> event;
for (;;) {
event.reset(m_queue.pop());

0 comments on commit 5c35ee8

Please sign in to comment.