Log

core/loggingmanager.lua @ 10315:d4c538a7d655

description author age
loggingmanager, mod_posix: Move syslog to core, fixes #541 (in a way) Matthew Wild Tue, 26 Mar 2019 14:48:21 +0000
Backed out changeset 3eea63a68e0f Matthew Wild Tue, 26 Mar 2019 13:51:06 +0000
util.queue: Update :items() to consistently use private data directly Matthew Wild Sat, 23 Mar 2019 08:52:57 +0000
loggingmanager: Remove luacheck annotations for global log functions that are now set in util.startup Kim Alvefur Tue, 10 Apr 2018 22:43:13 +0200
util.startup: Set up event hooks for reloading logging here instead of in loggingmanager to simplify startup dependencies Kim Alvefur Thu, 05 Apr 2018 17:53:51 +0200
util.startup: Initialize prosody.log / _G.log here instead of in loggingmanager to reduce dependencies Kim Alvefur Thu, 05 Apr 2018 17:52:37 +0200
loggingmanager: Hook event for reopening log files instead of config reloaded Kim Alvefur Sun, 25 Mar 2018 17:02:39 +0200
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
loggingmanager: Make timestamps enabled by default in file sink (fixes #1004) Kim Alvefur Thu, 26 Oct 2017 22:30:52 +0200
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