Log

core/loggingmanager.lua @ 7137:4a5619a87b44

description author age
loggingmanager: Write out timestamps in same write() call as everything else Kim Alvefur 2016-02-04
loggingmanager: Make initial value for width of log name configurable Kim Alvefur 2016-02-04
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 2016-02-04
loggingmanager: Refactor the console log sink to re-use the stdout sink which in turn uses the file sink (tailcalls!) Kim Alvefur 2016-02-04
loggingmanager: Write out color code, log level and reset code in one call Kim Alvefur 2016-02-04
loggingmanager: Don't reset default timestamp that is not changed by any other code Kim Alvefur 2016-02-04
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 2016-02-04
loggingmanager: Add prosody.log (intended to be used instead of _G.log now) Matthew Wild 2015-12-11
core.*: Remove use of module() function Kim Alvefur 2015-02-21
loggingmanager: Rename function arguments to avoid name conflict [luacheck] (core/ is now luacheck-clean!) Matthew Wild 2015-05-18
loggingmanager: Improve code structure (removes empty if branch) Matthew Wild 2015-04-03
Remove all trailing whitespace Florian Zeitz 2013-08-09
core.*: Complete removal of all traces of the "core" section and section-related code. Kim Alvefur 2013-03-23
core.loggingmanager: Don't create file log rules from [level] = "*sink" style config Kim Alvefur 2012-12-27
loggingmanager: Remove unused variables Matthew Wild 2012-07-24
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 2012-03-15
loggingmanager: Remove unused 'critical' level Matthew Wild 2011-11-22
loggingmanager: Allow specifying a sink type in per-level logging config (thanks ruskie) Matthew Wild 2011-02-13
loggingmanager: Iterate over logging config rules using ipairs rather than pairs Matthew Wild 2011-02-13
loggingmanager: Fix reading configuration of timestamps for console output. Waqas Hussain 2011-01-12
loggingmanager: Re-read 'debug' option on reload. Waqas Hussain 2011-01-12
loggingmanager: Remove event hook that never fired anyway, and held logfiles open - leave the GC to close them now. Matthew Wild 2011-01-11
core.loggingmanager: Updated to use termcolours.getstyle instead of termcolours.getstring for console logging. Waqas Hussain 2010-12-14
Monster whitespace commit (beware the whitespace monster). Waqas Hussain 2010-10-16
core.loggingmanager: Logging config simplification - allow [level] = filename and *sink to appear in the config table Matthew Wild 2010-10-08
loggingmanager: Remove (redundant!) dependency on eventmanager Matthew Wild 2010-08-03
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 2010-07-14
Merge 0.7->trunk Matthew Wild 2010-05-17
Merge 0.7/MattJ with 0.7 Matthew Wild 2010-05-17
Merge with 0.6 Matthew Wild 2010-05-17
Merge 0.7->trunk Waqas Hussain 2010-05-06
Merge 0.6->0.7 Waqas Hussain 2010-05-06
loggingmanager: Enable debug level for default console logging when 'debug' mode is enabled in the config. Waqas Hussain 2010-05-06
loggingmanager: Enable debug level for default console logging when 'debug' mode is enabled in the config. Waqas Hussain 2010-05-06
loggingmanager: Fix syntax error :) Matthew Wild 2010-04-07
loggingmanager: Observe 'debug' config setting for console logging too Matthew Wild 2010-04-07
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
loggingmanager: Don't use non-standard format specifier to format the timestamp. Waqas Hussain 2010-03-22
loggingmanager: Trailing whitespace Matthew Wild 2010-02-11
loggingmanager: Explicitly flush log messages if the __FLUSH_LOG environment variable is defined (workaround for MSVCRT buffering piped output). Waqas Hussain 2009-11-22
loggingmanager: Whitespace fix Matthew Wild 2009-10-04
core.loggingmanager: Enable timestamps by default for file log sinks Matthew Wild 2009-07-28
Add copyright header to those files missing one Matthew Wild 2009-07-10
loggingmanager: Log timestamps when using default file logging Matthew Wild 2009-06-19
loggingmanager: Enable debug level for default file logging when 'debug' mode is enabled in the config Matthew Wild 2009-06-19
loggingmanager: File log sinks react to reopen-log-files event Matthew Wild 2009-05-05
loggingmanager: Support for specifying a single sink with *sinkname (*syslog should now work) Matthew Wild 2009-05-03
loggingmanager: Add a comment about 'nowhere' sink type Matthew Wild 2009-04-30
loggingmanager: Support prepending timestamps in file/console/stdout log sinks Matthew Wild 2009-04-30
loggingmanager: Add ability to set 'log' config option to a filename, which causes all levels >= info to be logged to that file Matthew Wild 2009-04-29
core.loggingmanager: Reinstating global log() function Matthew Wild 2009-04-23
core.loggingmanager: Refactoring, converted to a module. Now possible to register additional sink types (think syslog) from other modules Matthew Wild 2009-04-22
core.loggingmanager: Add default logging settings (to console) and fill out code for adding sinks which catch all sources Matthew Wild 2009-04-21
core.loggingmanager: Filled out most code, and cleaned up Matthew Wild 2009-04-21
core.loggingmanager: A new manager (yay!) to manage log output Matthew Wild 2009-04-21