Skip to content

Commit

Permalink
chore: improve logging info (#392)
Browse files Browse the repository at this point in the history
Signed-off-by: jcriadomarco <[email protected]>
  • Loading branch information
javiercri authored Jun 13, 2023
1 parent c078381 commit 3ce15fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config-reloader/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (c *controllerInstance) RunOnce(ctx context.Context) error {

needsReload := false

logrus.Debugf("Config hashes returned in RunOnce loop: %v", configHashes)
logrus.Infof("Config hashes returned in RunOnce loop: %v", configHashes)

for _, nsConfig := range allConfigNamespaces {
newHash, found := configHashes[nsConfig.Name]
Expand Down
2 changes: 1 addition & 1 deletion config-reloader/fluentd/reloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (r *Reloader) ReloadConfiguration() {
return
}

logrus.Debugf("Reloading fluentd configuration gracefully via POST to /api/config.gracefulReload")
logrus.Infof("Reloading fluentd configuration gracefully via POST to /api/config.gracefulReload")

resp, err := http.Get(fmt.Sprintf("http://127.0.0.1:%d/api/config.gracefulReload", r.port))
if err != nil {
Expand Down

0 comments on commit 3ce15fb

Please sign in to comment.