Skip to content

Commit bdeda87

Browse files
committed
default log for hitless to errors only
1 parent 208ca70 commit bdeda87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hitless/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ type Config struct {
124124

125125
// LogLevel controls the verbosity of hitless upgrade logging.
126126
// LogLevelError (0) = errors only, LogLevelWarn (1) = warnings, LogLevelInfo (2) = info, LogLevelDebug (3) = debug
127-
// Default: LogLevelWarn (warnings)
127+
// Default: LogLevelError(0)
128128
LogLevel LogLevel
129129

130130
// MaxHandoffRetries is the maximum number of times to retry a failed handoff.
@@ -147,7 +147,7 @@ func DefaultConfig() *Config {
147147
MaxWorkers: 0, // Auto-calculated based on pool size
148148
HandoffQueueSize: 0, // Auto-calculated based on max workers
149149
PostHandoffRelaxedDuration: 0, // Auto-calculated based on relaxed timeout
150-
LogLevel: LogLevelWarn,
150+
LogLevel: LogLevelError,
151151

152152
// Connection Handoff Configuration
153153
MaxHandoffRetries: 3,

0 commit comments

Comments
 (0)