From f418b05ed5ad8b932000cebf3ea86bb56c6355dd Mon Sep 17 00:00:00 2001 From: Valient Gough Date: Thu, 15 Sep 2016 17:01:11 -0700 Subject: [PATCH] prevent crash in elpp when verbose logging is enabled --- encfs/Error.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/encfs/Error.cpp b/encfs/Error.cpp index c4f6d79..bbb90ce 100644 --- a/encfs/Error.cpp +++ b/encfs/Error.cpp @@ -13,6 +13,7 @@ void initLogging(bool enable_debug) { defaultConf.setToDefault(); defaultConf.set(el::Level::Verbose, el::ConfigurationType::Format, std::string("%datetime %level [%fbase:%line] %msg")); + defaultConf.set(el::Level::Global, el::ConfigurationType::ToFile, "false"); if (!enable_debug) { defaultConf.set(el::Level::Debug, el::ConfigurationType::Enabled, "false"); }