Changeset

3338:d50b6b3efad1

prosodyctl: Force log output always to the console instead of using the config, which avoids creating log files as the wrong user
author Matthew Wild <mwild1@gmail.com>
date Thu, 08 Jul 2010 23:56:53 +0100
parents 3337:4bccec3c24e5
children 3339:7893055e54d1
files prosodyctl
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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