mirror of
https://git.freebsd.org/ports.git
synced 2025-05-16 09:11:50 -04:00
- 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
11 lines
389 B
C++
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());
|