Merge pull request #15688 from backstage/rugvip/conflogport

backend-app-api: move over logger and config implementations from backend-common
This commit is contained in:
Patrik Oldsberg
2023-01-16 14:30:31 +01:00
committed by GitHub
31 changed files with 1003 additions and 640 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': patch
---
Internal refactor of the logger and configuration loading implementations.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-app-api': patch
---
Moved over logging and configuration loading implementations from `@backstage/backend-common`. There is a now `WinstonLogger` which implements the `RootLoggerService` through Winston with accompanying utilities. For configuration the `loadBackendConfig` function has been moved over, but it now instead returns an object with a `config` property.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-plugin-api': patch
---
Updated the `RootLoggerService` to also have an `addRedactions` method.