]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correct debug messages on error page actions
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 11 Sep 2008 13:00:07 +0000 (01:00 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 11 Sep 2008 13:00:07 +0000 (01:00 +1200)
src/errorpage.cc

index dc861135f405d6b25fe36758be2254e6e31f7553..ebfd5966e095dd26e0cc486a700b25f0e019b1b2 100644 (file)
@@ -239,7 +239,7 @@ errorLoadText(const char *page_name)
         snprintf(dir,256,"%s/%s", DEFAULT_SQUID_ERROR_DIR, Config.errorDefaultLanguage);
         text = errorTryLoadText(page_name, dir);
         if(!text) {
-            debugs(1, DBG_CRITICAL, "Unable to load default language. Reset to English");
+            debugs(1, DBG_CRITICAL, "Unable to load default error language files. Reset to backups.");
         }
     }
 #endif
@@ -938,7 +938,7 @@ ErrorState::BuildContent()
      */
     if(!m) {
         m = error_text[page_id];
-        debugs(4, 1, HERE << "No existing languages found. Fall back on default language.");
+        debugs(4, 2, HERE << "No existing error page language negotiated for " << page_id << ". Using default error file.");
     }
 
     assert(m);