From 6697dfb32f630e529bca727a40062afda6381270 Mon Sep 17 00:00:00 2001 From: Subhrajit Prusty Date: Wed, 12 Jun 2024 16:43:20 +0530 Subject: [PATCH] set sensitivity as false by default --- log/slog/slog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/slog/slog.go b/log/slog/slog.go index 4c60aa2..af97fdd 100644 --- a/log/slog/slog.go +++ b/log/slog/slog.go @@ -30,7 +30,7 @@ var ( func init() { logLevel = env.String("LOG_LEVEL", "info") - logSensitive = env.Bool("LOG_SENSITIVE", true) + logSensitive = false callerDepth = env.Int("LOG_CALLER_DEPTH", 4) defaultLoggerWrapper = newloggerWrapper(logLevel, logSensitive) }