log4js-node/0.7-changes
2013-09-12 07:23:11 +10:00

39 lines
1.3 KiB
Plaintext

changes
=======
LogEvent.categoryName -> LogEvent.category
Logger is immutable (no setLevel any more)
Log levels defined in configure call, nowhere else
References to Loggers not retained
Clustered appender, multiprocess appender removed - core handles clusters now
Default category needs to be defined, with appender
connect logger, gelf, smtp, hookio appenders removed from core.
reload configuration removed from core - use 'watchr' or something instead
appenders now only need to provide configure function
log4js.configure now only takes single argument (no options)
tests use mocha not vows
replaced my debug lib with tjholowaychuk's debug (more of a standard)
options.cwd removed - filenames should always be specified in full, not relative
loglevelfilter changed to accept a list of log levels it allows
appenders that wrap other appenders must reference them by name
extracted streams to streamroller
extracted date_format.js to date-format
console.log replacement has been removed.
to-do
=====
documentation pages (gh-pages)
* configuration
* file appenders
* layouts
* optional components
* writing your own appender (use couchdb as example)
readme
* getting started
* typical config - file with max size, file with date rolling
* optional components
fix and publish the optional components
* connect
* smtp
* gelf
* hookio ?