mirror of https://gitee.com/bigwinds/arangodb
Doc - Added "log-output" example (#10207)
* Uses file:// * On Windows backslashes but also forward slashes work
This commit is contained in:
parent
69dc50622a
commit
e5fb446dea
|
@ -99,7 +99,9 @@ void LoggerFeature::collectOptions(std::shared_ptr<ProgramOptions> options) {
|
|||
options->addOption("--log.escape", "escape characters when logging",
|
||||
new BooleanParameter(&_useEscaped));
|
||||
|
||||
options->addOption("--log.output,-o", "log destination(s)",
|
||||
options->addOption("--log.output,-o",
|
||||
"log destination(s), e.g. file:///path/to/file (Linux, macOS) "
|
||||
"or file://C:\\path\\to\\file (Windows)",
|
||||
new VectorParameter<StringParameter>(&_output));
|
||||
|
||||
options->addOption("--log.level,-l", "the global or topic-specific log level",
|
||||
|
|
Loading…
Reference in New Issue