# HG changeset patch # User Matthew Wild # Date 1278629813 -3600 # Node ID d50b6b3efad1dd8c17af18011884794dd3c1e54b # Parent 4bccec3c24e5ca4f9b3cc1c8e17703814db23f26 prosodyctl: Force log output always to the console instead of using the config, which avoids creating log files as the wrong user diff -r 4bccec3c24e5 -r d50b6b3efad1 prosodyctl --- a/prosodyctl Thu Jul 08 21:10:42 2010 +0100 +++ b/prosodyctl Thu Jul 08 23:56:53 2010 +0100 @@ -65,6 +65,8 @@ end end +config.set("*", "core", "log", { { levels = { min="info" }, to = "console" } }); + require "core.loggingmanager" if not require "util.dependencies".check_dependencies() then