diff --git a/lib/base/logger.cpp b/lib/base/logger.cpp index 5b0b3bf90..710c54211 100644 --- a/lib/base/logger.cpp +++ b/lib/base/logger.cpp @@ -88,6 +88,9 @@ void icinga::Log(LogSeverity severity, const String& facility, bool processed = false; BOOST_FOREACH(const Logger::Ptr& logger, Logger::GetLoggers()) { + if (!logger->IsActive()) + continue; + { ObjectLock llock(logger);