[Engine-1.21] All bootstrap backport (#4451)

Add ability to reconcile bootstrap data between datastore and disk (#3398)
This commit is contained in:
Brian Downs
2021-11-10 16:20:33 -07:00
committed by GitHub
parent 67d079ec3a
commit 30c7723c03
243 changed files with 8813 additions and 6295 deletions

View File

@@ -79,7 +79,8 @@ 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)