clix.lua: Log info messages by default (almost none)

Sat, 30 Jun 2012 00:43:21 +0200

author
Kim Alvefur <zash@zash.se>
date
Sat, 30 Jun 2012 00:43:21 +0200
changeset 86
12939dcba0f2
parent 85
8bc27e310e64
child 87
a93406de9f0f

clix.lua: Log info messages by default (almost none)

clix.lua file | annotate | diff | comparison | revisions
--- a/clix.lua	Fri Jun 29 20:52:29 2012 +0200
+++ b/clix.lua	Sat Jun 30 00:43:21 2012 +0200
@@ -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, not opts.verbose and {"error"});
+	verse.set_log_handler(io.stderr, not opts.verbose and {"info", "error"});
 	local conn = verse.new();
 	for _, plugin in ipairs(plugins or {}) do
 		conn:add_plugin(plugin);

mercurial