Diff

core/componentmanager.lua @ 1096:266ef0c6b1d0

componentmanager: Reduce log output at startup to 'debug'
author Matthew Wild <mwild1@gmail.com>
date Sat, 02 May 2009 22:03:44 +0100
parent 1064:3e945c3938ad
child 1100:05d209ef9661
line wrap: on
line diff
--- a/core/componentmanager.lua	Sat May 02 22:02:43 2009 +0100
+++ b/core/componentmanager.lua	Sat May 02 22:03:44 2009 +0100
@@ -44,7 +44,7 @@
 	end
 end
 
-
+local components_loaded_once;
 function load_enabled_components(config)
 	local defined_hosts = config or configmanager.getconfig();
 		
@@ -56,7 +56,7 @@
 			if not ok then
 				log("error", "Error loading %s component %s: %s", tostring(host_config.core.component_module), tostring(host), tostring(err));
 			else
-				log("info", "Activated %s component: %s", host_config.core.component_module, host);
+				log("debug", "Activated %s component: %s", host_config.core.component_module, host);
 			end
 		end
 	end