Merge pull request #2120 from tewinget/fix_syslog_target_arg

Fix incorrect usage of oxen-logging syslog
This commit is contained in:
majestrate 2023-01-17 19:20:37 -05:00 committed by GitHub
commit 245f968d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 9f2323a2db5fc54fe8394892769eff859967f735
Subproject commit 12c17d6eab754908cd88f05d09b9388381e47515

View File

@ -411,7 +411,7 @@ namespace llarp
if (log::get_level_default() != log::Level::off)
log::reset_level(conf.logging.m_logLevel);
log::clear_sinks();
log::add_sink(log_type, conf.logging.m_logFile);
log::add_sink(log_type, log_type == log::Type::System ? "lokinet" : conf.logging.m_logFile);
enableRPCServer = conf.api.m_enableRPCServer;