Comparison

prosodyctl @ 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
parent 3337:4bccec3c24e5
child 3339:7893055e54d1
comparison
equal deleted inserted replaced
3337:4bccec3c24e5 3338:d50b6b3efad1
62 print("**************************"); 62 print("**************************");
63 print(""); 63 print("");
64 os.exit(1); 64 os.exit(1);
65 end 65 end
66 end 66 end
67
68 config.set("*", "core", "log", { { levels = { min="info" }, to = "console" } });
67 69
68 require "core.loggingmanager" 70 require "core.loggingmanager"
69 71
70 if not require "util.dependencies".check_dependencies() then 72 if not require "util.dependencies".check_dependencies() then
71 os.exit(1); 73 os.exit(1);