aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAli Sabil <ali.sabil@gmail.com>2010-02-05 16:01:21 +0100
committerAli Sabil <ali.sabil@gmail.com>2010-02-05 16:01:21 +0100
commit697504312c832bec7e5dcee168295245733f425b (patch)
tree1de29ec9ef79fe9ec09c5ad06e4878ca5f186533
parent9e179c8aa7656cfe910666c4e3fb43fbda4c7326 (diff)
downloadprosody-697504312c832bec7e5dcee168295245733f425b.tar.gz
prosody-697504312c832bec7e5dcee168295245733f425b.zip
prosodyctl: Initialize logging before checking dependencies
-rwxr-xr-xprosodyctl2
1 files changed, 2 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 91423704..70474900 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -29,6 +29,8 @@ if CFG_DATADIR then
end
end
+require "core.loggingmanager"
+
if not require "util.dependencies".check_dependencies() then
os.exit(1);
end