diff options
Diffstat (limited to 'src/logging.cpp')
| -rw-r--r-- | src/logging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.cpp b/src/logging.cpp index 7251c515c..8dbc156be 100644 --- a/src/logging.cpp +++ b/src/logging.cpp @@ -131,7 +131,7 @@ Log::MethodPtr Log::FileEngine::Create(const std::shared_ptr<ConfigTag>& tag) tag->source.str(), strerror(errno))); } - const unsigned long flush = tag->getUInt("flush", 20, 1); + const unsigned long flush = tag->getNum<unsigned long>("flush", 20, 1); return std::make_shared<FileMethod>(fulltarget, fh, flush, true); } |
