]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/log/File.cc
cache_log_message directive (#775)
[thirdparty/squid.git] / src / log / File.cc
index af185b4a4094b31957da71d7bc21962f5ad3419b..39c8e3d35cd33cdf846e072fa2a9894c77891bc4 100644 (file)
@@ -9,6 +9,7 @@
 /* DEBUG: section 50    Log file handling */
 
 #include "squid.h"
+#include "DebugMessages.h"
 #include "fatal.h"
 #include "fde.h"
 #include "log/File.h"
@@ -41,7 +42,7 @@ logfileOpen(const char *path, size_t bufsz, int fatal_flag)
     int ret;
     const char *patharg;
 
-    debugs(50, DBG_IMPORTANT, "Logfile: opening log " << path);
+    debugs(50, Important(26), "Logfile: opening log " << path);
 
     Logfile *lf = new Logfile(path);
     patharg = path;
@@ -90,7 +91,7 @@ logfileOpen(const char *path, size_t bufsz, int fatal_flag)
 void
 logfileClose(Logfile * lf)
 {
-    debugs(50, DBG_IMPORTANT, "Logfile: closing log " << lf->path);
+    debugs(50, Important(27), "Logfile: closing log " << lf->path);
     lf->f_flush(lf);
     lf->f_close(lf);
     delete lf;