1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

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;