Module: check_mk
Branch: master
Commit: 4768d35c6f247869105d6e287dfbcb0ac44afcc9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4768d35c6f2478…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Apr 25 13:38:28 2019 +0200
agent_aws: Improved logging
Change-Id: I41f4d668cdc40da405774306c9fad8ada181eec3
---
cmk/special_agents/agent_aws.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk/special_agents/agent_aws.py b/cmk/special_agents/agent_aws.py
index 64dc8f6..af11a32 100644
--- a/cmk/special_agents/agent_aws.py
+++ b/cmk/special_agents/agent_aws.py
@@ -2761,7 +2761,7 @@ class AWSSections(object):
if self._debug:
raise
except Exception as e:
- logging.info(e)
+ logging.info("%s: %s", section.__class__.__name__, e)
if self._debug:
raise
exceptions.append(e)