From 09fab280eab974e70fd1d61d39782fcc68c61a67 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 2 Nov 2018 10:57:47 -0400 Subject: [PATCH] SOCKS dir creation logs should be debug --- src/zm_stream.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zm_stream.cpp b/src/zm_stream.cpp index 75fe4e856..6dc0e099a 100644 --- a/src/zm_stream.cpp +++ b/src/zm_stream.cpp @@ -291,11 +291,11 @@ void StreamBase::openComms() { if ( errno != EEXIST ) { Error("Can't mkdir %s: %s", staticConfig.PATH_SOCKS.c_str(), strerror(errno)); return; - } else { -Error("EEXISTsuccess making dir %s", staticConfig.PATH_SOCKS.c_str() ); + } else { + Debug(3, "SOCKS dir %s already exists", staticConfig.PATH_SOCKS.c_str() ); } } else { -Error("success making dir %s", staticConfig.PATH_SOCKS.c_str() ); + Debug(3, "Success making SOCKS dir %s", staticConfig.PATH_SOCKS.c_str() ); } lock_fd = open(sock_path_lock, O_CREAT|O_WRONLY, S_IRUSR | S_IWUSR);