Changeset

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
parents 1095:cad4205f4925
children 1097:c5b33640a5f0
files core/componentmanager.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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