[Release-1.22] All bootstrap backport (#4448)

Add ability to reconcile bootstrap data between datastore and disk (#3398)
This commit is contained in:
Brian Downs
2021-11-10 16:20:20 -07:00
committed by GitHub
parent 586ed948dd
commit 97f494a24d
18 changed files with 923 additions and 139 deletions

View File

@@ -80,7 +80,9 @@ func (c *Cluster) initClusterAndHTTPS(ctx context.Context) error {
// Create a HTTP server with the registered request handlers, using logrus for logging
server := http.Server{
Handler: handler}
Handler: handler,
}
if logrus.IsLevelEnabled(logrus.DebugLevel) {
server.ErrorLog = log.New(logrus.StandardLogger().Writer(), "Cluster-Http-Server ", log.LstdFlags)
} else {