]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polished debugging: Use DBG_CRITICAL for level-0 messages.
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 11 Sep 2011 22:08:15 +0000 (16:08 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Sun, 11 Sep 2011 22:08:15 +0000 (16:08 -0600)
src/store.cc

index 1ced0bbcfe0c12d1f8e1008bd7e5c1ea211b9c1f..f99f864f8d0564e43f60caeb21e93bba1a39d0cb 100644 (file)
@@ -1236,7 +1236,7 @@ StoreController::maintain()
 
     if (Store::Root().currentSize() > Store::Root().maxSize()) {
         if (squid_curtime - last_warn_time > 10) {
-            debugs(20, 0, "WARNING: Disk space over limit: "
+            debugs(20, DBG_CRITICAL, "WARNING: Disk space over limit: "
                    << Store::Root().currentSize() / 1024.0 << " KB > "
                    << (Store::Root().maxSize() >> 10) << " KB");
             last_warn_time = squid_curtime;