diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-07-08 23:56:53 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-07-08 23:56:53 +0100 |
commit | 9dfb2ebfb460edd3fdf98f368176c14140801644 (patch) | |
tree | b603a1ff7b41474946bc1a50b568fcca9d26e35b /prosodyctl | |
parent | 8db4e7e0b2e8a5c0413819aef5c3486e3cd162c5 (diff) | |
download | prosody-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
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |