From 161e4f918cf91262591be7ce757429098257c5d9 Mon Sep 17 00:00:00 2001 From: Andrew Thauer <6507159+andrewthauer@users.noreply.github.com> Date: Tue, 2 Feb 2021 06:11:40 -0500 Subject: [PATCH] update changeset --- .changeset/fluffy-nails-sort.md | 1 - 1 file changed, 1 deletion(-) diff --git a/.changeset/fluffy-nails-sort.md b/.changeset/fluffy-nails-sort.md index 545698c47f..0aa87b532f 100644 --- a/.changeset/fluffy-nails-sort.md +++ b/.changeset/fluffy-nails-sort.md @@ -5,7 +5,6 @@ Updated the `rootLogger` in `@backstage/backend-common` to support custom logging options. This is useful when you want to make some changes without re-implementing the entire logger and calling `setRootLogger` or `logger.configure`. For example you can add additional `defaultMeta` tags to each log entry. The following changes are included: - Added `createRootLogger` which accepts winston `LoggerOptions`. These options allow overriding the default keys. -- Added an additional error format that can include stack traces. This can be enabled by setting a `LOG_STACKTRACE=true` environment variable. Any `Error` objects passed to `logger.error('message', err)` will include the full stack trace in a `stack` log entry key. Example Usage: