mirror of
https://github.com/vgough/encfs.git
synced 2024-11-25 09:23:13 +01:00
prevent crash in elpp when verbose logging is enabled
This commit is contained in:
parent
b2a0e892c7
commit
f418b05ed5
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user