# Logstash plugin and rspec -- internal logging output

**URL:** <https://discuss.elastic.co/t/logstash-plugin-and-rspec-internal-logging-output/42064>\
**Category:** Logstash\
**Created:** [February 17, 2016, 6:47pm UTC](https://discuss.elastic.co/t/logstash-plugin-and-rspec-internal-logging-output/42064 "2016-02-17T18:47:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![talvey](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@talvey](https://discuss.elastic.co/u/talvey)\
**Post date:** [February 17, 2016, 6:47pm UTC](https://discuss.elastic.co/t/logstash-plugin-and-rspec-internal-logging-output/42064/1 "2016-02-17T18:47:13Z")

</div>

I'm writing a simple logstash plugin and associated rspec tests. I'd like to be able to see the internal logging of the plugin when I run the tests, but have been unable to enable logging. For instance, the following line produces no visible output.

> @logger.debug("Registered plugin", :config =\> @config)

Is there something I need to enable to see the output?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 5:10am UTC](https://discuss.elastic.co/t/logstash-plugin-and-rspec-internal-logging-output/42064/2 "2017-07-06T05:10:59Z")

</div>


