Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: remove stack in error logging (#2304)
Yilong Lif00e90997421
diff --git a/common/log/logger.go b/common/log/logger.goindex ca0c050a8f..48da35ec54 100644--- a/common/log/logger.go+++ b/common/log/logger.go@@ -52,9 +52,6 @@ func Warn(msg string, fields ...zap.Field) {// Error wraps the zap Logger's Error method.func Error(msg string, fields ...zap.Field) {- // Append the stack info in Error logging for better debugging experience.- // Note that we should skip one stack frames so that the top frame start at the caller of log.Error.- fields = append(fields, zap.StackSkip("stack", 1))gl.Error(msg, fields...)}