clix.lua: Print logged warnings by default

Sun, 10 Feb 2013 23:58:27 +0100

author
Kim Alvefur <zash@zash.se>
date
Sun, 10 Feb 2013 23:58:27 +0100
changeset 105
82c21f1d6f46
parent 104
16cdeb9cd879
child 106
730fcde562ce

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);

mercurial