# Logstash.instrument.periodicpoller.jvm remove from log

**URL:** <https://discuss.elastic.co/t/logstash-instrument-periodicpoller-jvm-remove-from-log/291932>\
**Category:** Logstash\
**Created:** [December 15, 2021, 9:18am UTC](https://discuss.elastic.co/t/logstash-instrument-periodicpoller-jvm-remove-from-log/291932 "2021-12-15T09:18:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peledev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peledev/32/78323_2.png) [@peledev](https://discuss.elastic.co/u/peledev)\
**Post date:** [December 15, 2021, 9:18am UTC](https://discuss.elastic.co/t/logstash-instrument-periodicpoller-jvm-remove-from-log/291932/1 "2021-12-15T09:18:52Z")

</div>

how do i disable all the logs debug of logstash.instrument.periodicpoller.jvm  
it is filling my log with junk

please assist  
thanks  
claudia

---

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [December 15, 2021, 9:20pm UTC](https://discuss.elastic.co/t/logstash-instrument-periodicpoller-jvm-remove-from-log/291932/2 "2021-12-15T21:20:11Z")

</div>

> [@peledev](#):
>
> logstash.instrument.periodicpoller.jvm

Logging config is addressed in the [Logstash Logging docs](https://www.elastic.co/guide/en/logstash/current/logging.html).

Global log level is set in the `config/logstash.yml` using the [`log.level` setting](https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html).

You can configure a _specific_ logger to an alternate level by adding the following to your `config/log4j2.properties` and restarting the Logstash process:

```auto
logger.jvminstrument.name = logstash.instrument.periodicpoller.jvm
logger.jvminstrument.level = info

```

If you need to modify a running process without restarting it, you can apply these temporarily using the logging API:

```auto
curl -XPUT 'localhost:9600/_node/logging?pretty' -H 'Content-Type: application/json' -d'
{
    "logstash.instrument.periodicpoller.jvm" : "INFO"
}
'

```

---

<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:** [January 12, 2022, 9:20pm UTC](https://discuss.elastic.co/t/logstash-instrument-periodicpoller-jvm-remove-from-log/291932/3 "2022-01-12T21:20:56Z")

</div>

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