Log

core/loggingmanager.lua @ 8327:0b561f8bc790

description author age
core.loggingmanager: Remove now unused locals [luacheck] Kim Alvefur Mon, 11 Sep 2017 19:32:51 +0200
loggingmanager, mod_posix: Import util.format correctly (fixes #985) Kim Alvefur Mon, 11 Sep 2017 19:32:12 +0200
loggingmanager: Slight cleanup and optimization of file sink Waqas Hussain Sun, 10 Sep 2017 13:13:24 -0400
loggingmanager, mod_posix: Replace the old inconsistent log formatting with the new util.format Waqas Hussain Sun, 10 Sep 2017 13:05:45 -0400
core: Allow select core modules to mutate some globals (needs luacheck 1.19) Kim Alvefur Sat, 04 Mar 2017 20:09:28 +0100
loggingmanager,modulemanager,moduleapi: Ignore warning about accessing _G.unpack [luacheck] Kim Alvefur Thu, 18 Feb 2016 14:57:51 +0100
loggingmanager: Import select() to fix global access Matthew Wild Thu, 18 Feb 2016 13:21:12 +0000
loggingmanager: Stringify all arguments to format so we can finally see the *real* error messages Kim Alvefur Thu, 04 Feb 2016 20:45:37 +0100
loggingmanager: Remove Windows hack, buffer_mode should fix this Kim Alvefur Thu, 04 Feb 2016 18:40:24 +0100
loggingmanager: Write out timestamps in same write() call as everything else Kim Alvefur Thu, 04 Feb 2016 17:57:12 +0100
loggingmanager: Make initial value for width of log name configurable Kim Alvefur Thu, 04 Feb 2016 17:51:39 +0100
loggingmanager: Move logic for adaptive column width into file sink, append tab if disabled (fixes separation between name and level in plain file sinks) Kim Alvefur Thu, 04 Feb 2016 17:49:09 +0100
loggingmanager: Refactor the console log sink to re-use the stdout sink which in turn uses the file sink (tailcalls!) Kim Alvefur Thu, 04 Feb 2016 17:33:16 +0100
loggingmanager: Write out color code, log level and reset code in one call Kim Alvefur Thu, 04 Feb 2016 17:03:04 +0100
loggingmanager: Don't reset default timestamp that is not changed by any other code Kim Alvefur Thu, 04 Feb 2016 16:56:05 +0100
loggingmanager: Call setvbuf on output files, defaulting to line-buffered, instead of manually calling flush(). Adds 'buffer_mode' option to sink configuration for stdout, console and file sinks. Matthew Wild Thu, 04 Feb 2016 14:56:49 +0000
loggingmanager: Add prosody.log (intended to be used instead of _G.log now) Matthew Wild Fri, 11 Dec 2015 14:00:42 +0000
core.*: Remove use of module() function Kim Alvefur Sat, 21 Feb 2015 10:42:19 +0100
loggingmanager: Rename function arguments to avoid name conflict [luacheck] (core/ is now luacheck-clean!) Matthew Wild Mon, 18 May 2015 19:09:07 +0100
loggingmanager: Improve code structure (removes empty if branch) Matthew Wild Fri, 03 Apr 2015 19:20:24 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
core.*: Complete removal of all traces of the "core" section and section-related code. Kim Alvefur Sat, 23 Mar 2013 02:33:15 +0100
core.loggingmanager: Don't create file log rules from [level] = "*sink" style config Kim Alvefur Thu, 27 Dec 2012 20:44:58 +0100
loggingmanager: Remove unused variables Matthew Wild Tue, 24 Jul 2012 15:50:11 +0100
loggingmanager, util.logger: Remove name sinks and the ability to filter logs by source name (lots of code, hardly used if at all, and possibly broken) Matthew Wild Thu, 15 Mar 2012 19:09:24 +0000
loggingmanager: Remove unused 'critical' level Matthew Wild Tue, 22 Nov 2011 17:56:52 +0000
loggingmanager: Allow specifying a sink type in per-level logging config (thanks ruskie) Matthew Wild Sun, 13 Feb 2011 18:37:34 +0000
loggingmanager: Iterate over logging config rules using ipairs rather than pairs Matthew Wild Sun, 13 Feb 2011 18:35:39 +0000
loggingmanager: Fix reading configuration of timestamps for console output. Waqas Hussain Thu, 13 Jan 2011 02:33:50 +0500
loggingmanager: Re-read 'debug' option on reload. Waqas Hussain Thu, 13 Jan 2011 02:31:10 +0500
loggingmanager: Remove event hook that never fired anyway, and held logfiles open - leave the GC to close them now. Matthew Wild Tue, 11 Jan 2011 22:40:09 +0000
core.loggingmanager: Updated to use termcolours.getstyle instead of termcolours.getstring for console logging. Waqas Hussain Wed, 15 Dec 2010 01:57:10 +0500
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500
core.loggingmanager: Logging config simplification - allow [level] = filename and *sink to appear in the config table Matthew Wild Fri, 08 Oct 2010 02:48:47 +0100
loggingmanager: Remove (redundant!) dependency on eventmanager Matthew Wild Tue, 03 Aug 2010 10:59:47 +0100
loggingmanager: Add reload_logging() method, which gets called on any config reload, to reset util.logger and remove and re-add all sink types to perform a full reload of the logging system without a restart. Matthew Wild Wed, 14 Jul 2010 01:25:32 +0100
Merge 0.7->trunk Matthew Wild Mon, 17 May 2010 11:58:00 +0100
Merge 0.7/MattJ with 0.7 Matthew Wild Mon, 17 May 2010 11:57:01 +0100
Merge with 0.6 Matthew Wild Mon, 17 May 2010 11:56:36 +0100
Merge 0.7->trunk Waqas Hussain Thu, 06 May 2010 17:14:11 +0500
Merge 0.6->0.7 Waqas Hussain Thu, 06 May 2010 16:25:40 +0500
loggingmanager: Enable debug level for default console logging when 'debug' mode is enabled in the config. Waqas Hussain Thu, 06 May 2010 15:52:47 +0500
loggingmanager: Enable debug level for default console logging when 'debug' mode is enabled in the config. Waqas Hussain Thu, 06 May 2010 15:38:11 +0500
loggingmanager: Fix syntax error :) Matthew Wild Wed, 07 Apr 2010 21:08:16 +0100
loggingmanager: Observe 'debug' config setting for console logging too Matthew Wild Wed, 07 Apr 2010 17:41:35 +0100
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
loggingmanager: Don't use non-standard format specifier to format the timestamp. Waqas Hussain Mon, 22 Mar 2010 21:58:38 +0500
loggingmanager: Trailing whitespace Matthew Wild Thu, 11 Feb 2010 11:04:26 +0000
loggingmanager: Explicitly flush log messages if the __FLUSH_LOG environment variable is defined (workaround for MSVCRT buffering piped output). Waqas Hussain Sun, 22 Nov 2009 21:33:41 +0500
loggingmanager: Whitespace fix Matthew Wild Sun, 04 Oct 2009 16:41:33 +0100
core.loggingmanager: Enable timestamps by default for file log sinks Matthew Wild Tue, 28 Jul 2009 15:03:42 +0100
Add copyright header to those files missing one Matthew Wild Fri, 10 Jul 2009 03:08:38 +0100
loggingmanager: Log timestamps when using default file logging Matthew Wild Fri, 19 Jun 2009 17:23:17 +0100
loggingmanager: Enable debug level for default file logging when 'debug' mode is enabled in the config Matthew Wild Fri, 19 Jun 2009 17:22:16 +0100
loggingmanager: File log sinks react to reopen-log-files event Matthew Wild Tue, 05 May 2009 14:19:20 +0100
loggingmanager: Support for specifying a single sink with *sinkname (*syslog should now work) Matthew Wild Sun, 03 May 2009 17:13:43 +0100
loggingmanager: Add a comment about 'nowhere' sink type Matthew Wild Thu, 30 Apr 2009 14:35:43 +0100
loggingmanager: Support prepending timestamps in file/console/stdout log sinks Matthew Wild Thu, 30 Apr 2009 03:05:26 +0100
loggingmanager: Add ability to set 'log' config option to a filename, which causes all levels >= info to be logged to that file Matthew Wild Wed, 29 Apr 2009 20:52:24 +0100
core.loggingmanager: Reinstating global log() function Matthew Wild Thu, 23 Apr 2009 02:55:31 +0100
core.loggingmanager: Refactoring, converted to a module. Now possible to register additional sink types (think syslog) from other modules Matthew Wild Wed, 22 Apr 2009 19:49:58 +0100
core.loggingmanager: Add default logging settings (to console) and fill out code for adding sinks which catch all sources Matthew Wild Tue, 21 Apr 2009 21:10:42 +0100
core.loggingmanager: Filled out most code, and cleaned up Matthew Wild Tue, 21 Apr 2009 20:30:29 +0100
core.loggingmanager: A new manager (yay!) to manage log output Matthew Wild Tue, 21 Apr 2009 03:37:49 +0100