Skip to content
Snippets Groups Projects
Commit e5468461 authored by René Fritze's avatar René Fritze
Browse files

[logging] fixes felix' broken c804af505ae96a43c0dbf36813478daf11c34c70

parent 8978055f
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ void Logging::create(int logflags, const std::string logfile, const std::string
logflags_ = logflags;
path logdir = path(datadir) / _logdir;
filename_ = logdir / (log_fn % logfile % ".log").str();
testCreateDirectory(filename_.string());
if ((logflags_ & LOG_FILE) != 0) {
logfile_.open(filename_);
assert(logfile_.is_open());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment