Software /
code /
clix
Changeset
103:82c21f1d6f46
clix.lua: Print logged warnings by default
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 10 Feb 2013 23:58:27 +0100 |
parents | 102:16cdeb9cd879 |
children | 104:730fcde562ce |
files | clix.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);