diff options
| author | Innokentii Mokin <[email protected]> | 2024-02-29 20:52:17 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-29 20:52:17 +0300 |
| commit | 8eed0732313f765f1533c9b66c56c8fe98b8b398 (patch) | |
| tree | a020321e078f4b541ecc1a095efa34c31f91f6fa | |
| parent | 0aad5033602d57b3de5d9982a47c32eec008ba80 (diff) | |
Bring back NoArgument for syslog option (#2349)
| -rw-r--r-- | ydb/core/config/init/init_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/config/init/init_impl.h b/ydb/core/config/init/init_impl.h index 3d364854afa..16ceef9e3a7 100644 --- a/ydb/core/config/init/init_impl.h +++ b/ydb/core/config/init/init_impl.h @@ -351,7 +351,7 @@ struct TCommonAppOptions { opts.AddLongOption("log-format", "log format to use; short skips the priority and timestamp") .DefaultValue("full").OptionalArgument("full|short|json") .Handler(new TWithDefaultOptHandler(&LogFormat)); - opts.AddLongOption("syslog", "send to syslog instead of stderr").SetFlag(&SysLogEnabled); + opts.AddLongOption("syslog", "send to syslog instead of stderr").NoArgument().SetFlag(&SysLogEnabled); opts.AddLongOption("syslog-service-tag", "unique tag for syslog").RequiredArgument("NAME").StoreResult(&SysLogServiceTag); opts.AddLongOption("log-file-name", "file name for log backend").RequiredArgument("NAME").StoreResult(&LogFileName); opts.AddLongOption("tcp", "start tcp interconnect").NoArgument().SetFlag(&TcpEnabled); |
