Hi everyone, I’m facing an issue with my logs getting cluttered with temperature, pressure, power readings, and illuminance sensor data from Xiaomi items. Specifically, I’m seeing a lot of ItemStateChangedEvent entries, which I believe are causing the log to become too verbose. However, I still want to keep track of ItemStateChangedEvent for doors, such as when they open or close.
My goal is to find a way to control the logging at the item level or implement another method to achieve this selective logging. Here’s a snippet of my current log for reference:
2017-10-03 01:01:56.203 [ItemStateChangedEvent ] - Plug_Sove_TV_Load changed from 1.16 to 1.14
2017-10-03 01:03:53.108 [ItemStateChangedEvent ] - Plug_Stue_Lys_Load changed from 9.21 to 9.63
2017-10-03 01:05:23.355 [ItemStateChangedEvent ] - Temperature_Stue changed from 20.510000228881836 to 20.450000762939453
2017-10-03 01:05:23.369 [ItemStateChangedEvent ] - Humidity_Stue changed from 70.81999969482422 to 70.86000061035156
2017-10-03 01:05:23.402 [ItemStateChangedEvent ] - Pressue_Stue changed from 99.83999633789062 to 99.84300231933594
2017-10-03 01:05:30.552 [ItemStateChangedEvent ] - Temperature_BedRoom changed from 21.729999542236328 to 21.790000915527344
2017-10-03 01:05:30.576 [ItemStateChangedEvent ] - Humidity_BedRoom changed from 64.80000305175781 to 64.12000274658203
2017-10-03 01:08:19.800 [ItemStateChangedEvent ] - Motion_Sensor_Stue_Stue_Status changed from OFF to ON
2017-10-03 01:08:19.810 [GroupItemStateChangedEvent] - gMotionSensors changed from OFF to ON through Motion_Sensor_Stue_Stue_Status
I would greatly appreciate any advice or solutions on how to manage this logging more effectively. Thanks in advance for your help!