Skip to content
Snippets Groups Projects
Commit 41d126f7 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#59 Output to console only for error or higher

parent def3c9e0
Branches
No related tags found
No related merge requests found
......@@ -55,9 +55,9 @@ class CallbackModule(CallbackBase):
self._display.warning("The required fluent-logger is not installed. "
"pip install fluent-logger")
else:
logging.basicConfig(level=logging.DEBUG)
logging.basicConfig(level=logging.ERROR)
self.logger = logging.getLogger('fluent.ansible')
self.logger.setLevel(logging.DEBUG)
self.logger.setLevel(logging.ERROR)
self.handler = handler.FluentHandler(
'app.ansible',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment