Skip to content

Commit

Permalink
fix: improve some log messages (#1747)
Browse files Browse the repository at this point in the history
## Description:
Addresses Kevin's slack comment
[here](https://kurtosistech.slack.com/archives/C032ZB39AHH/p1699371636437979)

## Is this change user facing?
YES
  • Loading branch information
tedim52 committed Nov 10, 2023
1 parent 2694464 commit 2bc6d08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -31,7 +31,7 @@ func CreateLogsAggregator(
return nil, nil, stacktrace.Propagate(err, "An error occurred getting logs aggregator container.")
}
if found {
logrus.Warnf("Found existing logs aggregator; cannot start a new one.")
logrus.Debugf("Found existing logs aggregator; cannot start a new one.")
logsAggregatorObj, _, err := getLogsAggregatorObjectAndContainerId(ctx, dockerManager)
if err != nil {
return nil, nil, stacktrace.Propagate(err, "An error occurred getting existing logs aggregator.")
Expand Down
Expand Up @@ -1250,7 +1250,7 @@ func (manager *DockerManager) FetchLatestImage(ctx context.Context, dockerImage
func (manager *DockerManager) FetchImage(ctx context.Context, image string, downloadMode image_download_mode.ImageDownloadMode) (bool, string, error) {
var err error
var pulledFromRemote bool = true
logrus.Infof("Fetching image '%s' is running in '%s' mode", image, downloadMode)
logrus.Debugf("Fetching image '%s' with image download mode: %s", image, downloadMode)

switch image_fetching := downloadMode; image_fetching {
case image_download_mode.ImageDownloadMode_Always:
Expand Down

0 comments on commit 2bc6d08

Please sign in to comment.