We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a19764 commit 7d98726Copy full SHA for 7d98726
src/main-options.cpp
@@ -202,7 +202,7 @@ void MainOptions::parse(const std::list<std::string> &args) {
202
} else if (k == "--log-file-max-count") {
203
log_file_max_count = std::atoi(v.c_str());
204
} else if (k == "--log-file-rotate-interval") {
205
- log_file_rotate_interval = std::atof(v.c_str());
+ log_file_rotate_interval = utils::get_seconds(v);
206
} else if (k == "--log-level") {
207
if (
208
utils::starts_with(v, "debug") && (
0 commit comments