# Filebeat always logging at least at DEBUG level

**URL:** <https://discuss.elastic.co/t/filebeat-always-logging-at-least-at-debug-level/181470>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 16, 2019, 7:19pm UTC](https://discuss.elastic.co/t/filebeat-always-logging-at-least-at-debug-level/181470 "2019-05-16T19:19:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thadc](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@thadc](https://discuss.elastic.co/u/thadc)\
**Post date:** [May 16, 2019, 7:19pm UTC](https://discuss.elastic.co/t/filebeat-always-logging-at-least-at-debug-level/181470/1 "2019-05-16T19:19:33Z")

</div>

Hi, in my filebeat.yml file I have:

logging.level: error

, in spite of the filebeat is writing all messages (DEBUG, INFO, ERROR).

Thinking it might be needing the -v option at the command line, I start filebeat this way:

sudo ./filebeat -v -c filebeat.yml -d "publish"

This -v did not change anything. I have also tried --v .

I would be grateful for any ideas. Thank you

---

<div class="post-metadata">

**Author:** ![adrisr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrisr/32/25423_2.png) [@adrisr](https://discuss.elastic.co/u/adrisr)\
**Post date:** [May 16, 2019, 7:30pm UTC](https://discuss.elastic.co/t/filebeat-always-logging-at-least-at-debug-level/181470/2 "2019-05-16T19:30:05Z")

</div>

The `-d "publish"` flag is enabling debug messages for the `publish` selector.

---

<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:** [June 13, 2019, 7:30pm UTC](https://discuss.elastic.co/t/filebeat-always-logging-at-least-at-debug-level/181470/3 "2019-06-13T19:30:13Z")

</div>

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