# Creating Custom Log level with logstash like prints

**URL:** <https://discuss.elastic.co/t/creating-custom-log-level-with-logstash-like-prints/248870>\
**Category:** Logstash\
**Created:** [September 16, 2020, 5:32pm UTC](https://discuss.elastic.co/t/creating-custom-log-level-with-logstash-like-prints/248870 "2020-09-16T17:32:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkhapre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rkhapre/32/48333_2.png) [@rkhapre](https://discuss.elastic.co/u/rkhapre)\
**Post date:** [September 16, 2020, 5:32pm UTC](https://discuss.elastic.co/t/creating-custom-log-level-with-logstash-like-prints/248870/1 "2020-09-16T17:32:24Z")

</div>

Hi All

I have created a custom plugin and in that plugin i have added lot of print/puts/milestone checks.  
Now when i run the pipeline i can see those prints in my command window.

How can i customize my log level so that i can print only those prints and get rid of log level like debug,warn, error etc.?

Thanks

---

<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:** [October 14, 2020, 5:32pm UTC](https://discuss.elastic.co/t/creating-custom-log-level-with-logstash-like-prints/248870/2 "2020-10-14T17:32:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
