etcd uses the zap library for logging application output categorized into levels. A log message’s level is determined according to these conventions:
DebugLevel logs are typically voluminous, and are usually disabled in production.
InfoLevel is the default logging priority.
WarnLevel logs are more important than Info, but don’t need individual human review.
ErrorLevel logs are high-priority. If an application is running smoothly, it shouldn’t generate any error-level logs.
PanicLevel logs a message, then panics.
FatalLevel logs a message, then calls os.Exit(1).
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.