aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_line_args.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-09-25 16:54:08 +0200
committerRiccardo Spagni <ric@spagni.net>2017-09-25 16:54:08 +0200
commit32bbe62120cf458a265722f47bd5b6c830530b08 (patch)
tree4d325b3d7623a538fb4dcdbf6dced5073b0c17fb /src/daemon/command_line_args.h
parentMerge pull request #2452 (diff)
parentdaemon, wallet: add --max-log-file-size option (diff)
downloadmonero-32bbe62120cf458a265722f47bd5b6c830530b08.tar.xz
Merge pull request #2456
91def9a5 daemon, wallet: add --max-log-file-size option (selsta)
Diffstat (limited to 'src/daemon/command_line_args.h')
-rw-r--r--src/daemon/command_line_args.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/command_line_args.h b/src/daemon/command_line_args.h
index f19d5cc63..7fa58f9d8 100644
--- a/src/daemon/command_line_args.h
+++ b/src/daemon/command_line_args.h
@@ -46,6 +46,11 @@ namespace daemon_args
, "Specify log file"
, ""
};
+ const command_line::arg_descriptor<std::size_t> arg_max_log_file_size = {
+ "max-log-file-size"
+ , "Specify maximum log file size [B]"
+ , MAX_LOG_FILE_SIZE
+ };
const command_line::arg_descriptor<std::string> arg_log_level = {
"log-level"
, ""