aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_line_args.h
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2017-09-17 04:42:45 +0200
committerselsta <selsta@sent.at>2017-09-17 04:42:45 +0200
commit91def9a59b7b6e252dba4a0a4dd559ad81be2b0d (patch)
tree53176070df785f0b14b1ed845638f7dc84e744ec /src/daemon/command_line_args.h
parentMerge pull request #2378 (diff)
downloadmonero-91def9a59b7b6e252dba4a0a4dd559ad81be2b0d.tar.xz
daemon, wallet: add --max-log-file-size option
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 8eb3db195..ee612a3c4 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"
, ""