Diff

clix.lua @ 86:12939dcba0f2

clix.lua: Log info messages by default (almost none)
author Kim Alvefur <zash@zash.se>
date Sat, 30 Jun 2012 00:43:21 +0200
parent 82:30f85754b1e0
child 87:a93406de9f0f
line wrap: on
line diff
--- 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);