Sun, 10 Feb 2013 23:58:27 +0100
clix.lua: Print logged warnings by default
clix.lua | file | annotate | diff | comparison | revisions |
--- a/clix.lua Sun Feb 10 14:09:20 2013 +0100 +++ b/clix.lua Sun Feb 10 23:58:27 2013 +0100 @@ -58,7 +58,7 @@ io.stderr:write("The specified account (", opts.account or "default", ") wasn't found in the config file\n"); return nil; end - verse.set_log_handler(io.stderr, opts.quiet and {} or not opts.verbose and {"info", "error"}); + verse.set_log_handler(io.stderr, opts.quiet and {} or not opts.verbose and {"info", "warn", "error"}); local conn = verse.new(verse.new_logger("clix")); for _, plugin in ipairs(plugins or {}) do conn:add_plugin(plugin);