aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger
diff options
context:
space:
mode:
authorelviandante <elviandante@yandex-team.ru>2022-02-10 16:49:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:47 +0300
commit643ddee8bd6125a18c4b1506c35bee857f64f4d2 (patch)
tree9b6a77d0a7c57a5e85a0ed2744f2a54ba1a46d9f /library/cpp/logger
parent767f05356832cfac686778897626e124d257dbc8 (diff)
downloadydb-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.cpp6
-rw-r--r--library/cpp/logger/system.h2
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;