Callback plugin output; logging to ansible.log

183 views
Skip to first unread message

J Hawkesworth

unread,
May 13, 2015, 4:57:04 AM5/13/15
to ansible...@googlegroups.com
We use a couple of callback plugins and one of my colleagues has noticed that their output doesn't appear in ansible.log

Is it possible to change this so we can see callback output?

We're running 1.9.1

Many thanks,

Jon

Matt Martz

unread,
May 13, 2015, 8:06:05 AM5/13/15
to ansible...@googlegroups.com
I would tend to say that should be the responsibility of the plugin.  Ansible doesn't control what the plugin does, it only provides hooks for the plugin to execute.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cf7cdc61-5126-49b9-8999-32bb3fafee02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Matt Martz
@sivel
sivel.net

Brian Coca

unread,
May 13, 2015, 8:07:34 AM5/13/15
to ansible...@googlegroups.com
Considering there are syslog callbacks I would be remiss to make this
the default, but the callbacks themselves should be able to explicitly
send data to ansible.log.


--
Brian Coca

J Hawkesworth

unread,
May 13, 2015, 10:46:26 AM5/13/15
to ansible...@googlegroups.com
Fair enough, a default would not seem right.

I will modify my plugins.
Reply all
Reply to author
Forward
0 new messages