Software /
code /
clix
Diff
clix.lua @ 103:82c21f1d6f46
clix.lua: Print logged warnings by default
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 10 Feb 2013 23:58:27 +0100 |
parent | 89:a8b63fbad807 |
child | 104:730fcde562ce |
line wrap: on
line diff
--- 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);