summaryrefslogtreecommitdiffstats
path: root/app/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/app.go')
-rw-r--r--app/app.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/app.go b/app/app.go
index dabd00571..d8974a48c 100644
--- a/app/app.go
+++ b/app/app.go
@@ -244,6 +244,7 @@ func New(options ...Option) (outApp *App, outErr error) {
})
app.clusterLeaderListenerId = app.AddClusterLeaderChangedListener(func() {
+ mlog.Info("Cluster leader changed. Determining if job schedulers should be running:", mlog.Bool("isLeader", app.IsLeader()))
app.Jobs.Schedulers.HandleClusterLeaderChange(app.IsLeader())
})