# How do you write an ansible callback plugin to only show messages from something i explicitly write out like through debug?

**URL:** <https://forum.ansible.com/t/how-do-you-write-an-ansible-callback-plugin-to-only-show-messages-from-something-i-explicitly-write-out-like-through-debug/30904>\
**Category:** Ansible Developer\
**Created:** [July 30, 2019, 1:15pm UTC](https://forum.ansible.com/t/how-do-you-write-an-ansible-callback-plugin-to-only-show-messages-from-something-i-explicitly-write-out-like-through-debug/30904 "2019-07-30T13:15:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anders\_Swenson](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@Anders\_Swenson](https://forum.ansible.com/u/Anders_Swenson)\
**Post date:** [July 30, 2019, 1:15pm UTC](https://forum.ansible.com/t/how-do-you-write-an-ansible-callback-plugin-to-only-show-messages-from-something-i-explicitly-write-out-like-through-debug/30904/1 "2019-07-30T13:15:23Z")

</div>

I’ve made a few attempts but nothing gets rid of all the extra stuff printed to stdout.

I would like only things i explicitly try to print out like through debug to show.

Here is a simple example: hw.yaml:
