aboutsummaryrefslogtreecommitdiffstats
path: root/core/loggingmanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* loggingmanager: Import select() to fix global accessMatthew Wild2016-02-181-1/+1
|
* loggingmanager: Stringify all arguments to format so we can finally see the ↵Kim Alvefur2016-02-041-5/+12
| | | | *real* error messages
* loggingmanager: Remove Windows hack, buffer_mode should fix thisKim Alvefur2016-02-041-7/+0
|
* loggingmanager: Write out timestamps in same write() call as everything elseKim Alvefur2016-02-041-6/+5
|
* loggingmanager: Make initial value for width of log name configurableKim Alvefur2016-02-041-1/+3
|
* loggingmanager: Move logic for adaptive column width into file sink, append ↵Kim Alvefur2016-02-041-9/+11
| | | | tab if disabled (fixes separation between name and level in plain file sinks)
* loggingmanager: Refactor the console log sink to re-use the stdout sink ↵Kim Alvefur2016-02-041-74/+45
| | | | which in turn uses the file sink (tailcalls!)
* loggingmanager: Write out color code, log level and reset code in one callKim Alvefur2016-02-041-4/+2
|
* loggingmanager: Don't reset default timestamp that is not changed by any ↵Kim Alvefur2016-02-041-1/+0
| | | | other code
* loggingmanager: Call setvbuf on output files, defaulting to line-buffered, ↵Matthew Wild2016-02-041-3/+15
| | | | instead of manually calling flush(). Adds 'buffer_mode' option to sink configuration for stdout, console and file sinks.
* loggingmanager: Add prosody.log (intended to be used instead of _G.log now)Matthew Wild2015-12-111-0/+1
|
* core.*: Remove use of module() functionKim Alvefur2015-02-211-4/+7
|
* loggingmanager: Rename function arguments to avoid name conflict [luacheck] ↵Matthew Wild2015-05-181-8/+8
| | | | (core/ is now luacheck-clean!)
* loggingmanager: Improve code structure (removes empty if branch)Matthew Wild2015-04-031-9/+9
|
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-15/+15
|
* core.*: Complete removal of all traces of the "core" section and ↵Kim Alvefur2013-03-231-2/+2
| | | | section-related code.
* core.loggingmanager: Don't create file log rules from [level] = "*sink" ↵Kim Alvefur2012-12-271-1/+1
| | | | style config
* loggingmanager: Remove unused variablesMatthew Wild2012-07-241-6/+4
|
* loggingmanager, util.logger: Remove name sinks and the ability to filter ↵Matthew Wild2012-03-151-28/+6
| | | | logs by source name (lots of code, hardly used if at all, and possibly broken)
* loggingmanager: Remove unused 'critical' levelMatthew Wild2011-11-221-1/+1
|
* loggingmanager: Allow specifying a sink type in per-level logging config ↵Matthew Wild2011-02-131-7/+13
| | | | (thanks ruskie)
* loggingmanager: Iterate over logging config rules using ipairs rather than pairsMatthew Wild2011-02-131-1/+1
|
* loggingmanager: Fix reading configuration of timestamps for console output.Waqas Hussain2011-01-131-1/+1
|
* loggingmanager: Re-read 'debug' option on reload.Waqas Hussain2011-01-131-2/+2
|
* loggingmanager: Remove event hook that never fired anyway, and held logfiles ↵Matthew Wild2011-01-111-6/+0
| | | | open - leave the GC to close them now.
* core.loggingmanager: Updated to use termcolours.getstyle instead of ↵Waqas Hussain2010-12-151-4/+8
| | | | termcolours.getstring for console logging.
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-2/+2
|
* core.loggingmanager: Logging config simplification - allow [level] = ↵Matthew Wild2010-10-081-2/+20
| | | | filename and *sink to appear in the config table
* loggingmanager: Remove (redundant!) dependency on eventmanagerMatthew Wild2010-08-031-1/+0
|
* loggingmanager: Add reload_logging() method, which gets called on any config ↵Matthew Wild2010-07-141-11/+35
| | | | 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.
* loggingmanager: Enable debug level for default console logging when 'debug' ↵Waqas Hussain2010-05-061-1/+1
| | | | mode is enabled in the config.
* Merge 0.6->0.7Matthew Wild2010-03-221-3/+3
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * loggingmanager: Don't use non-standard format specifier to format the timestamp.Waqas Hussain2010-03-221-1/+1
| |
* | loggingmanager: Trailing whitespaceMatthew Wild2010-02-111-6/+6
|/
* loggingmanager: Explicitly flush log messages if the __FLUSH_LOG environment ↵Waqas Hussain2009-11-221-0/+6
| | | | variable is defined (workaround for MSVCRT buffering piped output).
* loggingmanager: Whitespace fixMatthew Wild2009-10-041-0/+1
|
* core.loggingmanager: Enable timestamps by default for file log sinksMatthew Wild2009-07-281-1/+1
|
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* loggingmanager: Log timestamps when using default file loggingMatthew Wild2009-06-191-1/+1
|
* loggingmanager: Enable debug level for default file logging when 'debug' ↵Matthew Wild2009-06-191-1/+2
| | | | mode is enabled in the config
* loggingmanager: File log sinks react to reopen-log-files eventMatthew Wild2009-05-051-3/+16
|
* loggingmanager: Support for specifying a single sink with *sinkname (*syslog ↵Matthew Wild2009-05-031-0/+3
| | | | should now work)
* loggingmanager: Add a comment about 'nowhere' sink typeMatthew Wild2009-04-301-0/+1
|
* loggingmanager: Support prepending timestamps in file/console/stdout log sinksMatthew Wild2009-04-301-2/+29
|
* loggingmanager: Add ability to set 'log' config option to a filename, which ↵Matthew Wild2009-04-291-3/+12
| | | | causes all levels >= info to be logged to that file
* core.loggingmanager: Reinstating global log() functionMatthew Wild2009-04-231-0/+2
|
* core.loggingmanager: Refactoring, converted to a module. Now possible to ↵Matthew Wild2009-04-221-89/+101
| | | | register additional sink types (think syslog) from other modules
* core.loggingmanager: Add default logging settings (to console) and fill out ↵Matthew Wild2009-04-211-3/+11
| | | | code for adding sinks which catch all sources
* core.loggingmanager: Filled out most code, and cleaned upMatthew Wild2009-04-211-21/+136
|