aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-07-08 23:56:53 +0100
committerMatthew Wild <mwild1@gmail.com>2010-07-08 23:56:53 +0100
commit9dfb2ebfb460edd3fdf98f368176c14140801644 (patch)
treeb603a1ff7b41474946bc1a50b568fcca9d26e35b
parent8db4e7e0b2e8a5c0413819aef5c3486e3cd162c5 (diff)
downloadprosody-9dfb2ebfb460edd3fdf98f368176c14140801644.tar.gz
prosody-9dfb2ebfb460edd3fdf98f368176c14140801644.zip
prosodyctl: Force log output always to the console instead of using the config, which avoids creating log files as the wrong user
-rwxr-xr-xprosodyctl2
1 files changed, 2 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 94c485e8..b2cb43f4 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -65,6 +65,8 @@ do
end
end
+config.set("*", "core", "log", { { levels = { min="info" }, to = "console" } });
+
require "core.loggingmanager"
if not require "util.dependencies".check_dependencies() then