v15.2.0: System Logging Updates

4 views
Skip to first unread message

Evan Tahler

unread,
Oct 31, 2016, 7:34:05 PM10/31/16
to actionHero.js
https://github.com/evantahler/actionhero/releases/tag/v15.2.0

This release updates the logger (api.log) in 2 meaningful ways:

  • Fixes the localization of many system messages which were not using interpolation. This causes many system-specific strings to be append to your locale files when they should not have been.
  • Creates a new config option api.config.logger.localizeLogMessages which allows developers to opt-into localizing all system log messages (api.log).
    • If you are migrating for an older version of ActionHero, your log messages will not be localized by default
    • The default changes in this pull request from the previous "enabled implicitly" to "disabled explicitly"
    • by @evantahler via #976
Reply all
Reply to author
Forward
0 new messages