Commit Graph

36 Commits (613c9b00c4e9073f74e53efaa1c31ae00a73eae4)

Author SHA1 Message Date
Kim Alvefur 1acfdf5914 core.*: Complete removal of all traces of the "core" section and section-related code. 13 years ago
Kim Alvefur c141ffdbf6 core.loggingmanager: Don't create file log rules from [level] = "*sink" style config 13 years ago
Matthew Wild a9b4512005 loggingmanager: Remove unused variables 14 years ago
Matthew Wild fe16dde20b 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) 14 years ago
Matthew Wild a6418c6df2 loggingmanager: Remove unused 'critical' level 14 years ago
Matthew Wild 31faa98f14 loggingmanager: Allow specifying a sink type in per-level logging config (thanks ruskie) 15 years ago
Matthew Wild 29747bfa1e loggingmanager: Allow specifying a sink type in per-level logging config (thanks ruskie) 15 years ago
Matthew Wild 0f0601ab2d loggingmanager: Iterate over logging config rules using ipairs rather than pairs 15 years ago
Matthew Wild 807eb44ee6 loggingmanager: Iterate over logging config rules using ipairs rather than pairs 15 years ago
Waqas Hussain db0a3bec91 loggingmanager: Fix reading configuration of timestamps for console output. 15 years ago
Waqas Hussain 6abd0110a4 loggingmanager: Re-read 'debug' option on reload. 15 years ago
Matthew Wild ddde44eb04 loggingmanager: Remove event hook that never fired anyway, and held logfiles open - leave the GC to close them now. 15 years ago
Waqas Hussain ec51542c8f core.loggingmanager: Updated to use termcolours.getstyle instead of termcolours.getstring for console logging. 15 years ago
Waqas Hussain 2cbe4b74e3 core.loggingmanager: Updated to use termcolours.getstyle instead of termcolours.getstring for console logging. 15 years ago
Waqas Hussain b7e51a203d Monster whitespace commit (beware the whitespace monster). 15 years ago
Matthew Wild a60d832a39 core.loggingmanager: Logging config simplification - allow [level] = filename and *sink to appear in the config table 15 years ago
Matthew Wild e0c2d8a9b3 loggingmanager: Remove (redundant!) dependency on eventmanager 16 years ago
Matthew Wild b389ea00fc 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. 16 years ago
Waqas Hussain 63338056fd loggingmanager: Enable debug level for default console logging when 'debug' mode is enabled in the config. 16 years ago
Waqas Hussain 6568eebd4b loggingmanager: Enable debug level for default console logging when 'debug' mode is enabled in the config. 16 years ago
Matthew Wild 4763db4b42 loggingmanager: Fix syntax error :) 16 years ago
Matthew Wild e0b8ae73c0 loggingmanager: Observe 'debug' config setting for console logging too 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Waqas Hussain 3327f39741 loggingmanager: Don't use non-standard format specifier to format the timestamp. 16 years ago
Matthew Wild 2294aed6ce loggingmanager: Trailing whitespace 16 years ago
Waqas Hussain b50d8bac6f loggingmanager: Explicitly flush log messages if the __FLUSH_LOG environment variable is defined (workaround for MSVCRT buffering piped output). 16 years ago
Matthew Wild d4d1aeb52c loggingmanager: Whitespace fix 16 years ago
Matthew Wild ceb93e38fe core.loggingmanager: Enable timestamps by default for file log sinks 17 years ago
Matthew Wild e45610ce6e Add copyright header to those files missing one 17 years ago
Matthew Wild 7d12a19107 loggingmanager: Log timestamps when using default file logging 17 years ago
Matthew Wild fcb0996a5f loggingmanager: Enable debug level for default file logging when 'debug' mode is enabled in the config 17 years ago
Matthew Wild 7f04c5117e loggingmanager: File log sinks react to reopen-log-files event 17 years ago
Matthew Wild 690c501c98 loggingmanager: Support for specifying a single sink with *sinkname (*syslog should now work) 17 years ago
Matthew Wild 0e0ebb78ff loggingmanager: Add a comment about 'nowhere' sink type 17 years ago
Matthew Wild a1a1fd2213 loggingmanager: Support prepending timestamps in file/console/stdout log sinks 17 years ago
Matthew Wild 3015c946d1 loggingmanager: Add ability to set 'log' config option to a filename, which causes all levels >= info to be logged to that file 17 years ago
Matthew Wild 6b09371d4a core.loggingmanager: Reinstating global log() function 17 years ago
Matthew Wild 5014c0ddac core.loggingmanager: Refactoring, converted to a module. Now possible to register additional sink types (think syslog) from other modules 17 years ago
Matthew Wild 7f18f6d4a7 core.loggingmanager: Add default logging settings (to console) and fill out code for adding sinks which catch all sources 17 years ago
Matthew Wild 46c517f70b core.loggingmanager: Filled out most code, and cleaned up 17 years ago
Matthew Wild 44084aa0c5 core.loggingmanager: A new manager (yay!) to manage log output 17 years ago