nomiddlename/log4js-node — pull request #70 by mab-netdev (2012-05-02 15:46:19+00:00)
Title: log4js.configure({}) resets all loggers' levels to TRACE

This is seems inconsistent, given that log4js.configure({levels:{}}) preserves any previously set levels.
https://gist.github.com/2577583

This fixes that, by ensuring the setLevel(undefined || null) does not over-write a previously set level with TRACE.

Since the only time setLevel() is called within log4js.js with no parameters is when configure is called without the configuration object containing a 'levels' property, this seems like a reasonable and simple fix.