Skip to content

Commit

Permalink
Make 'critical' the default console log level
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Stephens committed May 25, 2024
1 parent 4327bbe commit 9368fa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CmdArgs.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ struct CmdArgs
TrunkPort("t", "trunk_port", "Remote trunk port.", false, 0, "trunkport"),
BranchAddrs("B", "branch_ip", "Remote endpoint addresses to permanently cache. Use -b to provide respective ports in the same order.", false, "branchhost"),
BranchPorts("b", "branch_port", "Remote endpoint port to permanently cache. Use -B to provide respective addresses in the same order.", false, "branchport"),
ConsoleLevel("c", "console_logging", "Console log level: off, critical, error, warn, info, debug, or trace. Default off.", false, "off", "console log level"),
ConsoleLevel("c", "console_logging", "Console log level: off, critical, error, warn, info, debug, or trace. Default critical.", false, "critical", "console log level"),
FileLevel("f", "file_logging", "File log level: off, critical, error, warn, info, debug, or trace. Default error.", false, "error", "file log level"),
LogFile("F", "log_file", "Log filename. Defaults to ./MiniPlex.log", false, "MiniPlex.log", "log filename"),
LogSize("S", "log_size", "Roll the log file at this many kB. Defaults to 5000", false, 5000, "size in kB"),
Expand Down
2 changes: 1 addition & 1 deletion src/ProtoConv/CmdArgs.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct CmdArgs
SerialCharSizes("Z", "serialcharsize", "List of serial char sizes, if converting serial", false, "serial char sizes"),
SerialStopBits("i", "serialstopbits", "List of serial stop bits settings, if converting serial", false, "serial stop bits"),
FrameProtocol("p", "frameprotocol", "Parse stream frames based on this protocol", false, "DNP3", "frame protocol"),
ConsoleLevel("c", "console_logging", "Console log level: off, critical, error, warn, info, debug, or trace. Default off.", false, "off", "console log level"),
ConsoleLevel("c", "console_logging", "Console log level: off, critical, error, warn, info, debug, or trace. Default critical.", false, "critical", "console log level"),
FileLevel("f", "file_logging", "File log level: off, critical, error, warn, info, debug, or trace. Default error.", false, "error", "file log level"),
LogFile("F", "log_file", "Log filename. Defaults to ./ProtoConv.log", false, "ProtoConv.log", "log filename"),
LogSize("S", "log_size", "Roll the log file at this many kB. Defaults to 5000", false, 5000, "log file size in kB"),
Expand Down

0 comments on commit 9368fa5

Please sign in to comment.