# Is there a way to suppress certain errors in the Logs

**URL:** <https://forum.inductiveautomation.com/t/is-there-a-way-to-suppress-certain-errors-in-the-logs/73777>\
**Category:** Ignition\
**Created:** [May 16, 2023, 1:16pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-suppress-certain-errors-in-the-logs/73777 "2023-05-16T13:16:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dalton\_Adams](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@Dalton\_Adams](https://forum.inductiveautomation.com/u/Dalton_Adams)\
**Post date:** [May 16, 2023, 1:16pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-suppress-certain-errors-in-the-logs/73777/1 "2023-05-16T13:16:17Z")

</div>

Hello,  
I was wondering if there was a way to suppress certain errors from appearing in the Log. I have a RFID tag reading system and sometimes one of the fields being read from the tags is returned as a NULL value causing a invalid amount of fields error to show up in my logs I have already programed inside my application itself to handle when this occurs however it still produces an error in the log adding clutter.

Thanks,

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 16, 2023, 1:45pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-suppress-certain-errors-in-the-logs/73777/2 "2023-05-16T13:45:23Z")

</div>

You can set logging levels for specific _loggers_, but not for specific _messages_.

---

<div class="post-metadata">

**Author:** ![Dalton\_Adams](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@Dalton\_Adams](https://forum.inductiveautomation.com/u/Dalton_Adams)\
**Post date:** [May 16, 2023, 2:00pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-suppress-certain-errors-in-the-logs/73777/3 "2023-05-16T14:00:06Z")

</div>

Yikes that is going to be problematic. This application will be reading tags 24/7 and the occurrence of the empty field is pretty frequent like 3 times every minute.

Thanks for the information I appreciate it.

---

<div class="post-metadata">

**Author:** ![avaughn](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/avaughn/32/38972_2.png) [@avaughn](https://forum.inductiveautomation.com/u/avaughn)\
**Post date:** [May 16, 2023, 2:28pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-suppress-certain-errors-in-the-logs/73777/4 "2023-05-16T14:28:41Z")

</div>

I haven't used this before, but based on the [logback documentation](https://logback.qos.ch/manual/filters.html), you may be able to apply filtering to prevent events with certain messages from showing in the logs. Also, [here's](https://support.inductiveautomation.com/hc/en-us/articles/4420375030029-How-To-Migrate-the-Ignition-Loggers-using-Logback-XML) a KBA regarding migrating loggers that should help get you started with modifying the logback.xml.

---

<div class="post-metadata">

**Author:** ![Dalton\_Adams](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@Dalton\_Adams](https://forum.inductiveautomation.com/u/Dalton_Adams)\
**Post date:** [May 16, 2023, 3:30pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-suppress-certain-errors-in-the-logs/73777/5 "2023-05-16T15:30:26Z")

</div>

Thanks for the information, I will look into it!  
Thanks,
