Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix: local logger

Carl-Gerhard Lindesvärd56c74e13ff6f
diff --git a/packages/logger/index.ts b/packages/logger/index.ts
index f8b6b8888..753ceb62f 100644
--- a/packages/logger/index.ts
+++ b/packages/logger/index.ts
@@ -87,7 +87,9 @@ export function createLogger({ name }: { name: string }): ILogger {
format = winston.format.combine(
errorFormatter(),
redactSensitiveInfo(),
- winston.format.colorize(),
+ winston.format.colorize({
+ all: true,
+ }),
winston.format.printf((info) => {
const { level, message, service, ...meta } = info;
const metaStr =