Ignoring specific warnings

memesaregood 3 years ago

Hey,

Any way to ignore attribute configuration error warnings? These keep spamming our logs, and there are too many devices to figure out which one's causing the trouble.

Anton Tananaev 3 years ago

What's the error? Care to provide examples from the log?

memesaregood 3 years ago
2023-03-07 22:48:27  WARN: Attribute computation error - org.traccar.handler.ComputedAttributesHandler.computeAttribute:119@30:11 variable 'x1_21' is undefined - Variable (ComputedAttributesHandler:120 < *:130 < BaseDataHandler:27 < ... < *:29 < ... < *:29 < ... < *:29 < ... < GeocoderHandler:81 < ...)
Anton Tananaev 3 years ago

It seems like it should be pretty easy to find the attribute that uses that variable. And then fix the expression to check the attribute presence.

memesaregood 3 years ago

That is off-topic. The question still stands: any way to ignore specific warnings?

Anton Tananaev 3 years ago

No.