Log

core/loggingmanager.lua @ 13255:df96af198222

description author age
core: Prefix module imports with prosody namespace Kim Alvefur 21 months ago
core.loggingmanager: Add FIXME about supporting console logging to stderr Kim Alvefur 2022-02-02
core.loggingmanager: Disable pretty printing when not connected to a tty Kim Alvefur 2021-07-04
core.loggingmanager: Pretty-print logged XML snippets in console Kim Alvefur 2021-06-29
core.loggingmanager: Support passing log messages trough a filter Kim Alvefur 2021-06-29
loggingmanager, mod_posix: Move syslog to core, fixes #541 (in a way) Matthew Wild 2019-03-26
Backed out changeset 3eea63a68e0f Matthew Wild 2019-03-26
util.queue: Update :items() to consistently use private data directly Matthew Wild 2019-03-23
loggingmanager: Remove luacheck annotations for global log functions that are now set in util.startup Kim Alvefur 2018-04-10
util.startup: Set up event hooks for reloading logging here instead of in loggingmanager to simplify startup dependencies Kim Alvefur 2018-04-05
util.startup: Initialize prosody.log / _G.log here instead of in loggingmanager to reduce dependencies Kim Alvefur 2018-04-05
loggingmanager: Hook event for reopening log files instead of config reloaded Kim Alvefur 2018-03-25
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur 2018-02-28
loggingmanager: Make timestamps enabled by default in file sink (fixes #1004) Kim Alvefur 2017-10-26
core.loggingmanager: Remove now unused locals [luacheck] Kim Alvefur 2017-09-11
loggingmanager, mod_posix: Import util.format correctly (fixes #985) Kim Alvefur 2017-09-11
loggingmanager: Slight cleanup and optimization of file sink Waqas Hussain 2017-09-10
loggingmanager, mod_posix: Replace the old inconsistent log formatting with the new util.format Waqas Hussain 2017-09-10
core: Allow select core modules to mutate some globals (needs luacheck 1.19) Kim Alvefur 2017-03-04
loggingmanager,modulemanager,moduleapi: Ignore warning about accessing _G.unpack [luacheck] Kim Alvefur 2016-02-18
loggingmanager: Import select() to fix global access Matthew Wild 2016-02-18
loggingmanager: Stringify all arguments to format so we can finally see the *real* error messages Kim Alvefur 2016-02-04
loggingmanager: Remove Windows hack, buffer_mode should fix this Kim Alvefur 2016-02-04
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