sfcode An Online Competing and Development Environment

log4js-node changelog

# 6.3.0

- Add option to file appender to remove ANSI colours - thanks @BlueCocoa
- Do not create appender if no categories use it - thanks @rnd-debug
- Docs: better categories inheritance description - thanks @rnd-debug
- Better jsdoc docs - thanks @wataash
- Typescript: access category field in Logger - thanks @rtvd
- Docs: influxdb appender - thanks @rnd-debug
- Support for fileSync appender in webpack - thanks @lauren-li
- Docs: UDP appender - thanks @iassasin
- Style: spaces and tabs - thanks @abetomo

# 6.2.1

- Update streamroller to 2.2.4 to fix incorrect filename matching during log rotation

# 6.2.0

- Add custom message end token to TCP appender - thanks @rnd-debug
- Update acorn (dev dep of a dep) - thanks Github Robots.

# 6.1.2

- Handle out-of-order appender loading - thanks @mvastola

# 6.1.1

- Add guards for undefined shutdown callback - thanks @aaron-edwards
- Ignore .bob files - thanks @cesine
- Add mark method to type definitions - thanks @techmunk

# 6.1.0

- Add pause event to dateFile appender - thanks @shayantabatabaee
- Add pause event to file appender - thanks @shayantabatabaee
- Add pause/resume event to docs

# 6.0.0

- Update streamroller to fix unhandled promise rejection
- Updated date-format library

# 5.3.0

- Padding and truncation changes

# 5.2.2

- Update streamroller to fix overwriting old files when using date rolling

# 5.2.1

- Update streamroller to fix numToKeep not working with dateFile pattern that is all digits

# 5.2.0

- Update streamroller to 2.2.0 (copy and truncate when file is busy)

# 5.1.0

- Update streamroller to 2.1.0 (windows fixes)

# 5.0.0

- Update streamroller to 2.0.0 (remove support for node v6)
- Update dependencies (mostly dev deps)
- Fix error when cluster not available
- Test coverage improvements

# 4.5.1

- Update streamroller 1.0.5 -> 1.0.6 (to fix overwriting old backup log files)
- Dependency update: lodash 4.17.4 (dependency of a dependency, not log4js) - thanks Github Automated Security Thing.
- Dependency update: lodash 4.4.0 -> 4.5.0 (dependency of a dependency, not log4js) - thanks Github Automated Security Thing.

# 4.5.0

- Override call stack parsing - thanks @rommni
- patternLayout filename depth token - thanks @rommni

# 4.4.0

- Add option to pass appender module in config - thanks @kaxelson
- Added docs for passing appender module
- Updated dependencies

# 4.3.2

- Types for enableCallStack - thanks @citrusjunoss

# 4.3.1

- Fix for maxLogSize in dateFile appender

# 4.3.0

- Feature: line number support - thanks @victor0801x
- Fix for missing core appenders in webpack

# 4.2.0

- Feature: add appender and level inheritance - thanks @pharapiak
- Feature: add response to context for connectLogger - thanks @leak4mk0
- Fix for broken sighup handler
- Add missing types for Level - thanks @Ivkaa
- Typescript fixes for connect logger context - thanks @leak4mk0
- Upgrade to streamroller-1.0.5 to fix log rotation bug

# 4.1.1

- Various test fixes for node v12
- Fix layout problem in node v12 - thanks @bjornstar
- Add missing types for addLevels - thanks @Ivkaa
- Allow any return type for layout function - thanks @xinbenlv

# 4.1.0

- Updated streamroller to 1.0.4, to fix a bug where the inital size of an existing file was ignored when appending
- Updated streamroller to 1.0.3, to fix a crash bug if the date pattern was all digits.
- Updated dependencies

# Previous versions

Change information for older versions can be found by looking at the milestones in github.