From 9dfb2ebfb460edd3fdf98f368176c14140801644 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 8 Jul 2010 23:56:53 +0100 Subject: prosodyctl: Force log output always to the console instead of using the config, which avoids creating log files as the wrong user --- prosodyctl | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3