diff options
author | elviandante <elviandante@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
commit | 643ddee8bd6125a18c4b1506c35bee857f64f4d2 (patch) | |
tree | 9b6a77d0a7c57a5e85a0ed2744f2a54ba1a46d9f /library/cpp/logger | |
parent | 767f05356832cfac686778897626e124d257dbc8 (diff) | |
download | ydb-643ddee8bd6125a18c4b1506c35bee857f64f4d2.tar.gz |
Restoring authorship annotation for <elviandante@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/logger')
-rw-r--r-- | library/cpp/logger/system.cpp | 6 | ||||
-rw-r--r-- | library/cpp/logger/system.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/logger/system.cpp b/library/cpp/logger/system.cpp index 42233f63d2..4cdaf92f53 100644 --- a/library/cpp/logger/system.cpp +++ b/library/cpp/logger/system.cpp @@ -32,14 +32,14 @@ TSysLogBackend::TSysLogBackend(const char* ident, EFacility facility, int flags) LOG_LOCAL6, LOG_LOCAL7}; - int sysflags = LOG_NDELAY | LOG_PID; + int sysflags = LOG_NDELAY | LOG_PID; if (flags & LogPerror) { - sysflags |= LOG_PERROR; + sysflags |= LOG_PERROR; } if (flags & LogCons) { - sysflags |= LOG_CONS; + sysflags |= LOG_CONS; } openlog(Ident.data(), sysflags, f2sf[(size_t)facility]); diff --git a/library/cpp/logger/system.h b/library/cpp/logger/system.h index b8c60b3023..eb566cb5da 100644 --- a/library/cpp/logger/system.h +++ b/library/cpp/logger/system.h @@ -32,7 +32,7 @@ public: LogPerror = 1, LogCons = 2 }; - + TSysLogBackend(const char* ident, EFacility facility, int flags = 0); ~TSysLogBackend() override; |