Skip to content

Commit 4781c6a

Browse files
authored
Merge pull request #9002 from swiftlang/jdevlieghere/rdar/132243490
[lldb] Drop LOG_CONS from openlog call.
2 parents 06f3297 + 56aa415 commit 4781c6a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lldb/source/Host/common/Host.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ using namespace lldb_private;
9393
#include <syslog.h>
9494
void Host::SystemLog(Severity severity, llvm::StringRef message) {
9595
static llvm::once_flag g_openlog_once;
96-
llvm::call_once(g_openlog_once, [] {
97-
openlog("lldb", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_USER);
98-
});
96+
llvm::call_once(g_openlog_once,
97+
[] { openlog("lldb", LOG_PID | LOG_NDELAY, LOG_USER); });
9998
int level = LOG_DEBUG;
10099
switch (severity) {
101100
case lldb::eSeverityInfo:

0 commit comments

Comments
 (0)