prosody: Bump log message describing current connection backend to level 'info'
authorMatthew Wild <mwild1@gmail.com>
Sat, 27 Feb 2010 19:46:04 +0000 (19:46 +0000)
committerMatthew Wild <mwild1@gmail.com>
Sat, 27 Feb 2010 19:46:04 +0000 (19:46 +0000)
prosody

diff --git a/prosody b/prosody
index 47b042d3953f1078a14f634b2023c688aba627c2..b13369a94cdeafb5994fb9ee357f2d92fcac6944 100755 (executable)
--- a/prosody
+++ b/prosody
@@ -22,6 +22,9 @@ if CFG_SOURCEDIR then
        package.cpath = CFG_SOURCEDIR.."/?.so;"..package.cpath;
 end
 
+package.path = package.path..";"..(CFG_SOURCEDIR or ".").."/fallbacks/?.lua";
+package.cpath = package.cpath..";"..(CFG_SOURCEDIR or ".").."/fallbacks/?.so";
+
 -- Substitute ~ with path to home directory in data path
 if CFG_DATADIR then
        if os.getenv("HOME") then
@@ -305,7 +308,7 @@ function init_data_store()
 end
 
 function prepare_to_start()
-       log("debug", "Prosody is using the %s backend for connection handling", server.get_backend());
+       log("info", "Prosody is using the %s backend for connection handling", server.get_backend());
        -- Signal to modules that we are ready to start
        eventmanager.fire_event("server-starting");
        prosody.events.fire_event("server-starting");