af69eddd1c
Example: log4js.configure({ appenders: [{type: 'console', timezoneOffset: -540}], replaceConsole: true }); The expected value is the equivalent of (new Date).getTimezoneOffset() In this example, -540 is the value for JST. This allows machines members of world-wide-spread cluster to all report log time-stamps using the same timezone (or adapt the timezone to a local different from the system) |
||
---|---|---|
.. | ||
appenders | ||
streams | ||
connect-logger.js | ||
date_format.js | ||
debug.js | ||
layouts.js | ||
levels.js | ||
log4js.js | ||
log4js.json | ||
logger.js |