ports/sysutils/lizardfs/files/patch-src_common_slogger.cc
John Hixson 47fccfbb95 [New port] sysutils/lizardfs: An open source distributed filesystem
- LizardFS is a highly reliable, scalable and efficient distributed file
  system. It spreads data over a number of physical servers, making it
  visible to an end user as a single file system.

Approved by:	miwi (mentor)
Differential Revision:	https://reviews.freebsd.org/D19010
2019-02-01 17:12:54 +00:00

11 lines
389 B
C++

--- src/common/slogger.cc.orig 2019-01-28 19:24:32 UTC
+++ src/common/slogger.cc
@@ -86,7 +86,7 @@ void lzfs::drop_all_logs() {
bool lzfs::add_log_syslog() {
#ifndef _WIN32
try {
- spdlog::syslog_logger("syslog");
+ spdlog::syslog_logger_mt("syslog");
return true;
} catch (const spdlog::spdlog_ex &e) {
lzfs_pretty_syslog(LOG_ERR, "Adding syslog log failed: %s", e.what());