]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/Instance.cc
cache_log_message directive (#775)
[thirdparty/squid.git] / src / Instance.cc
index 842d65dbf608c45e97eff52f5bd60a545c47ac55..2b95b777377a2316ffa99a9586fa8cb583743627 100644 (file)
@@ -8,6 +8,7 @@
 
 #include "squid.h"
 #include "base/File.h"
+#include "DebugMessages.h"
 #include "fs_io.h"
 #include "Instance.h"
 #include "parser/Tokenizer.h"
@@ -163,7 +164,7 @@ RemoveInstance()
     if (ThePidFileToRemove.isEmpty()) // not the PidFilename()!
         return; // nothing to do
 
-    debugs(50, DBG_IMPORTANT, "Removing " << PidFileDescription(ThePidFileToRemove));
+    debugs(50, Important(22), "Removing " << PidFileDescription(ThePidFileToRemove));
     const char *filename = ThePidFileToRemove.c_str(); // avoid complex operations inside enter_suid()
     enter_suid();
     safeunlink(filename, 0);
@@ -210,6 +211,6 @@ Instance::WriteOurPid()
     // our written PID (and decide that they are dealing with a corrupted PID file).
     pidFile.synchronize();
 
-    debugs(50, DBG_IMPORTANT, "Created " << TheFile);
+    debugs(50, Important(23), "Created " << TheFile);
 }