@telia-ace/alliance-internal-node-utilities 1.0.3-next.3 → 1.0.3-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @telia-ace/alliance-internal-node-utilities
2
2
 
3
+ ## 1.0.3-next.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 0f20a09: Change to unformatted JSON logs.
8
+
3
9
  ## 1.0.3-next.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -751,14 +751,12 @@ exports.LoggerModule = class LoggerModule {
751
751
  useFactory: async (configService) => ({
752
752
  pinoHttp: {
753
753
  level: logLevel || configService.get(SharedConfigKeys.ServiceLogLevel) || "silent",
754
- redact: redact ? ["authorization", "headers.authorization", "req", "res"] : [],
755
- transport: {
756
- target: "pino-pretty",
757
- options: {
758
- colorize: true,
759
- colorizeObjects: true
760
- }
761
- }
754
+ redact: redact ? [
755
+ "authorization",
756
+ "headers.authorization",
757
+ "req.headers.authorization",
758
+ "res.headers.authorization"
759
+ ] : []
762
760
  }
763
761
  })
764
762
  })
package/dist/index.mjs CHANGED
@@ -745,14 +745,12 @@ let LoggerModule = class {
745
745
  useFactory: async (configService) => ({
746
746
  pinoHttp: {
747
747
  level: logLevel || configService.get(SharedConfigKeys.ServiceLogLevel) || "silent",
748
- redact: redact ? ["authorization", "headers.authorization", "req", "res"] : [],
749
- transport: {
750
- target: "pino-pretty",
751
- options: {
752
- colorize: true,
753
- colorizeObjects: true
754
- }
755
- }
748
+ redact: redact ? [
749
+ "authorization",
750
+ "headers.authorization",
751
+ "req.headers.authorization",
752
+ "res.headers.authorization"
753
+ ] : []
756
754
  }
757
755
  })
758
756
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/alliance-internal-node-utilities",
3
- "version": "1.0.3-next.3",
3
+ "version": "1.0.3-next.4",
4
4
  "description": "Utilities used internally by packages developed by team Alliance.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Telia Company AB",
@@ -23,8 +23,6 @@
23
23
  "jsonschema": "^1.4.1",
24
24
  "jsonwebtoken": "^9.0.1",
25
25
  "nestjs-pino": "^3.3.0",
26
- "pino-http": "^8.3.3",
27
- "pino-pretty": "^10.1.0",
28
26
  "redis": "^4.6.8",
29
27
  "slugify": "^1.6.6"
30
28
  },