]> granicus.if.org Git - icinga2/commitdiff
Adjust code comment for Logger->Flush() on Windows
authorMichael Friedrich <michael.friedrich@icinga.com>
Fri, 6 Sep 2019 07:24:34 +0000 (09:24 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Fri, 6 Sep 2019 07:24:34 +0000 (09:24 +0200)
lib/base/logger.cpp

index d2c5db8fd500ad10fe5b0c8315849ac7f7f36475..1401975c55386f7da3ef47b4c40df795d9c546ba 100644 (file)
@@ -223,7 +223,7 @@ Log::~Log()
                        logger->ProcessLogEntry(entry);
 
 #ifdef I2_DEBUG /* I2_DEBUG */
-               /* Always flush, don't depend on the timer. Enable this for development sprints. */
+               /* Always flush, don't depend on the timer. Enable this for development sprints on Linux/macOS only. Windows crashes. */
                //logger->Flush();
 #endif /* I2_DEBUG */
        }