Log

init.lua @ 399:82ad158714e5

description author age
Merge with Zash Matthew Wild Tue, 12 Jan 2016 13:14:36 +0000
verse: Pass on error from trying to require verse connection module Kim Alvefur Sun, 17 May 2015 15:00:30 +0200
verse: Enable TCP keepalives Kim Alvefur Tue, 05 May 2015 01:08:20 +0200
init: Log the error message that caused loading of a connection module to fail Matthew Wild Sat, 05 Sep 2015 15:13:52 +0100
init: Restore loading of LuaSec (must be loaded before net.server) (thanks 桜) Kim Alvefur Sun, 16 Nov 2014 19:33:18 +0100
verse: Import LuaSocket properly (especially for 5.2) Kim Alvefur Tue, 23 Sep 2014 22:15:13 +0200
verse: Fix disconnected event for unassociated connections Kim Alvefur Sun, 10 Feb 2013 18:06:43 +0100
Backout 55e3fd7b9731 Kim Alvefur Sun, 10 Feb 2013 18:02:00 +0100
verse: Err, I meant the stream, not the connection Kim Alvefur Sun, 10 Feb 2013 04:29:20 +0100
verse: Really pass the connection to ondisconnect, not some unknown global Kim Alvefur Sun, 10 Feb 2013 04:20:44 +0100
verse: Only fire the disconnected event if the stream and the connection are still associated (fixes smacks issue) Kim Alvefur Sun, 10 Feb 2013 03:29:04 +0100
verse: Add missing 'reason' argument to stream:close() Kim Alvefur Sun, 10 Feb 2013 02:50:02 +0100
verse: Remove some, erm, debug logging Matthew Wild Fri, 30 Mar 2012 03:57:03 +0100
verse: Add :listen(host, port) to Verse objects ("connected" event is fired with new clients) Matthew Wild Fri, 30 Mar 2012 03:09:59 +0100
verse: Accept a file object as a log handler, and automatically call :write() on it with a formatted message Matthew Wild Sun, 12 Feb 2012 20:21:52 +0000
Merge with Zash Matthew Wild Mon, 05 Dec 2011 15:39:05 +0000
verse: Add stream:info() for emitting info-level log message. Kim Alvefur Mon, 05 Dec 2011 16:24:13 +0100
verse: Add init(...) method to load connection modules (client, component, bosh, etc.) Matthew Wild Mon, 05 Dec 2011 15:38:18 +0000
verse: Remove silly logger line I just noticed at the end of the file Matthew Wild Wed, 30 Nov 2011 18:01:53 +0000
verse: Add default log handler for errors Matthew Wild Sun, 27 Nov 2011 23:00:15 +0000
verse: Format messages before passing them to custom log handler Matthew Wild Sun, 27 Nov 2011 22:59:59 +0000
verse: set_log_handler(): Allow nil to be passed for log_handler to disable logging (the default). Matthew Wild Sun, 27 Nov 2011 22:50:21 +0000
verse: Switch connection ids to be a simple incrementing integer Matthew Wild Sun, 27 Nov 2011 22:48:02 +0000
verse, squishy: Port to Prosody's util.logger. Adds new function, verse.set_log_handler(handler, levels). Matthew Wild Sun, 27 Nov 2011 22:45:26 +0000
verse: require('util.logger') (besides being correct, also fixes a silly bug when loading verse twice) Matthew Wild Sun, 27 Nov 2011 22:07:59 +0000
verse: verse.logger() -> verse.new_logger() Matthew Wild Sun, 27 Nov 2011 22:01:59 +0000
verse: Connections use global Verse logger by default Matthew Wild Sun, 27 Nov 2011 21:41:44 +0000
verse: Expose net.server as verse.server Matthew Wild Fri, 18 Mar 2011 21:50:06 +0000
verse: Make add_plugin only load a plugin once per stream Matthew Wild Thu, 30 Dec 2010 22:59:23 +0000
verse: Change to set conn:send in only one place, and fire new events 'outgoing' and 'outgoing-raw' Matthew Wild Wed, 15 Dec 2010 14:48:55 +0000
verse: Consider a plugin as failed to load only if it returns false Matthew Wild Wed, 15 Dec 2010 11:57:23 +0000
verse: Add verse.filter_log(levels, logger) to filter a logger for certain levels Matthew Wild Wed, 15 Sep 2010 16:52:18 +0100
verse: Fix set_logger() to set verse.log() correctly Matthew Wild Wed, 15 Sep 2010 16:51:17 +0100
verse: Fire disconnected event even if connection fails instantly Matthew Wild Tue, 14 Sep 2010 15:02:29 +0100
verse: Log error and return when trying to close a closed connection Matthew Wild Mon, 13 Sep 2010 14:49:30 +0100
verse: verse.loop() and new verse.step() use the new error handler to, er, handle errors. Matthew Wild Mon, 13 Sep 2010 14:08:41 +0100
verse: Add verse.log() to log a message using the default logger. Also add verse.set_error_handler() to, er, set an error handler. Matthew Wild Mon, 13 Sep 2010 14:07:41 +0100
verse: Log error when connection fails instantly Matthew Wild Sun, 12 Sep 2010 17:49:01 +0100
verse: Add verse.eventable() to give a passed object :event() and :hook()/:unhook() methods and return it again Matthew Wild Sat, 21 Aug 2010 14:38:16 +0100
verse: Return true from connect() on success, add stream:close() Matthew Wild Sat, 21 Aug 2010 14:36:21 +0100
verse: Return false rather than nil from connect() on error, for consistency Matthew Wild Sat, 21 Aug 2010 14:35:51 +0100
verse: Add stream:set_loglevels() Matthew Wild Mon, 09 Aug 2010 13:57:08 +0100
verse: Load LuaSec if possible Matthew Wild Tue, 11 May 2010 23:09:37 +0100
verse: Fire "status" event for connection status changes (notably SSL handshake complete) Matthew Wild Tue, 11 May 2010 22:40:13 +0100
verse: Remove some useless comments Matthew Wild Tue, 11 May 2010 22:09:44 +0100
verse: Add "drained" event to signal when send buffer is empty (new server.lua feature) Matthew Wild Thu, 06 May 2010 10:28:13 +0100
verse: Take advantage of server.lua's new onconnect callback for a more robust "connected" event Matthew Wild Thu, 06 May 2010 10:27:11 +0100
verse: Add stream:unhook(event_name, handler) Matthew Wild Thu, 06 May 2010 10:26:16 +0100
verse: Add verse.quit() to exit the event loop Matthew Wild Wed, 06 Jan 2010 17:42:57 +0000
verse: Multiple changes to allow controlling logging for both verse and streams Matthew Wild Wed, 06 Jan 2010 17:42:37 +0000
verse: Add verse.add_task(delay, callback) to add timer functions using util.timer Matthew Wild Sun, 03 Jan 2010 18:01:54 +0000
Revert module names throughout to their Prosody equivalents Matthew Wild Wed, 09 Dec 2009 20:58:04 +0000
verse: Have verse.new() accept a prototype table on which to base the connection Matthew Wild Fri, 04 Dec 2009 03:28:40 +0000
verse: Update for new server connection API Matthew Wild Tue, 01 Dec 2009 04:14:52 +0000
verse: Include LuaRocks packages if we can Matthew Wild Mon, 30 Nov 2009 15:54:33 +0000
verse: Fix stream:hook() to pass additional parameters to the underlying hook(), so we don't strip priority Matthew Wild Mon, 30 Nov 2009 15:53:44 +0000
Log debug message when firing an event Matthew Wild Sat, 28 Nov 2009 22:22:51 +0000
verse: Support for loading plugins Matthew Wild Sat, 28 Nov 2009 22:22:31 +0000
Remove some XMPP client-specific requires from init.lua Matthew Wild Tue, 04 Aug 2009 18:32:25 +0100
Break client-specific code into verse.client module Matthew Wild Tue, 04 Aug 2009 18:25:56 +0100