]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/LoadableModules.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / LoadableModules.cc
index 8a40c11f912fbf76544cb0f724ad088e6caf4eb1..d47c701bf8b92570090ae327a21b85fb3c7868d4 100644 (file)
@@ -1,16 +1,25 @@
+/*
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 #include "squid.h"
-#include "wordlist.h"
+#include "Debug.h"
 #include "LoadableModule.h"
 #include "LoadableModules.h"
+#include "wordlist.h"
 
 static void
 LoadModule(const char *fname)
 {
-    debugs(1, 1, "loading Squid module from '" << fname << "'");
+    debugs(1, DBG_IMPORTANT, "Loading Squid module from '" << fname << "'");
 
     LoadableModule *m = new LoadableModule(fname);
     m->load();
-    debugs(1, 2, "loaded Squid module from '" << fname << "'");
+    debugs(1, 2, "Loaded Squid module from '" << fname << "'");
 
     //TODO: TheModules.push_back(m);
 }
@@ -21,5 +30,6 @@ LoadableModulesConfigure(const wordlist *names)
     int count = 0;
     for (const wordlist *i = names; i; i = i->next, ++count)
         LoadModule(i->key);
-    debugs(1, 1, "Squid modules loaded: " << count);
+    debugs(1, DBG_IMPORTANT, "Squid plugin modules loaded: " << count);
 }
+