Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moves noisy warn logs to debug level #16452

Merged
merged 2 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions disk/changelog.d/16452.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Moves noisy warn logs to debug level
4 changes: 2 additions & 2 deletions disk/datadog_checks/disk/disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def check(self, _):
)
continue
except Exception as e:
self.log.warning(
self.log.debug(
u'Unable to get disk metrics for %s: %s. '
u'You can exclude this mountpoint in the settings if it is invalid.',
part.mountpoint,
Expand Down Expand Up @@ -299,7 +299,7 @@ def _collect_inodes_metrics(self, mountpoint):
)
return metrics
except Exception as e:
self.log.warning(
self.log.debug(
u'Unable to get disk metrics for %s: %s. '
u'You can exclude this mountpoint in the settings if it is invalid.',
mountpoint,
Expand Down
Loading