logging dev state changes

Posted on
Sun Dec 15, 2019 10:00 pm
kw123 offline
User avatar
Posts: 6823
Joined: May 12, 2013
Location: Dallas, TX

logging dev state changes

It seems that all ""dev.updateStatesOnServer(changeList)" (and only these) are logged in
/Library/Application Support/Perceptive Automation/Indigo 7.4/Logs/indigoplugin.sql-logger/plugin.log

there is no logging statement near to this code

Is there a switch to stop this? It is about 80Mbyte per day

Karl

Posted on
Mon Dec 16, 2019 12:38 pm
matt (support) offline
Site Admin
User avatar
Posts: 19735
Joined: Jan 27, 2003
Location: Texas

Re: logging dev state changes

What log lines are you seeing? Is it just the ones beginning with "state change list for..." that are a problem?

Image

Posted on
Mon Dec 16, 2019 2:47 pm
kw123 offline
User avatar
Posts: 6823
Joined: May 12, 2013
Location: Dallas, TX

Re: logging dev state changes

yes these:
Code: Select all
2019-12-16 14:45:44.355   DEBUG   Plugin.debugLog:   state change list for "Pi_Beacon_31_BLE_ServerRoom": {u'Pi_5_Distance': 1.4, u'Pi_5_Signal': -62, u'Pi_5_Time': u'2019-12-16 14:45:44'}
2019-12-16 14:45:44.370   DEBUG   Plugin.debugLog:   state change list for "b-iHere_aiko": {u'Pi_5_Distance': 2.7, u'Pi_5_Signal': -73, u'Pi_5_Time': u'2019-12-16 14:45:44'}
2019-12-16 14:45:44.457   DEBUG   Plugin.debugLog:   state change list for "Pi_5_Leo": {u'closestiBeacon': u'b-iHere_aiko@2.7'}
2019-12-16 14:45:46.176   DEBUG   Plugin.debugLog:   state change list for "s-15-temp-Freezer": {u'TemperatureChange6Hours': -1.1, u'lastSensorChange': u'2019-12-16 14:45:46', u'TemperatureChange10Minutes': -2.0}
2019-12-16 14:45:46.432   DEBUG   Plugin.debugLog:   state change list for "s-1-T-FrontLeft-Outside": {u'status': u'5.9\xbaC', u'Temperature': 5.9, u'TemperatureChange6Hours': 0.7, u'TemperatureChange1Hour': -1.2, u'lastSensorChange': u'2019-12-16 14:45:46', u'TemperatureChange10Minutes': -0.1, u'sensorValue': 5.9, u'sensorValue.ui': u'5.9\xbaC'}
2019-12-16 14:45:46.556   DEBUG   Plugin.debugLog:   state change list for "s-5-Leo-Lum-Window": {u'status': u'4.3[log]', u'IR': 6787.0, u'lastSensorChange': u'2019-12-16 14:45:46', u'illuminance': 449.67, u'sensorValue.ui': u'4.3[log]', u'ambient': 22225.0, u'sensorValue': 22225.0}
2019-12-16 14:45:46.957   DEBUG   Plugin.debugLog:   state change list for "Camera_LivingRoom-outside": {u'status': u'off', u'lastStatusChange': u'2019-12-16 14:45:46', u'displayStatus': u'off        12-16 14:45:46', u'onOffState.ui': u'off        12-16 14:45:46', u'lastEventLength': 7, u'lastEventStop': u'2019-12-16 14:45:31'}
2019-12-16 14:45:47.341   DEBUG   Plugin.debugLog:   state change list for "b-iHere_black": {u'Pi_7_Time': u'2019-12-16 14:45:47', u'Pi_7_Signal': -94, u'Pi_7_Distance': 94.4}
2019-12-16 14:45:47.350   DEBUG   Plugin.debugLog:   state change list for "beacon_D0:D2:B0:88:7B:76": {u'Pi_7_Time': u'2019-12-16 14:45:47', u'Pi_7_Signal': -89}
2019-12-16 14:45:47.363   DEBUG   Plugin.debugLog:   state change list for "Pi_9_Joe": {u'Pi_7_Time': u'2019-12-16 14:45:47', u'Pi_7_Signal': -94, u'Pi_7_Distance': 56.2}
2019-12-16 14:45:47.373   DEBUG   Plugin.debugLog:   state change list for "b-xy-Mazda-keys-turkoise-1": {u'Pi_7_Time': u'2019-12-16 14:45:47', u'Pi_7_Signal': -93, u'Pi_7_Distance': 141.3}
2019-12-16 14:45:47.383   DEBUG   Plugin.debugLog:   state change list for "b-iHere_aiko": {u'Pi_7_Time': u'2019-12-16 14:45:47'}
2019-12-16 14:45:47.395   DEBUG   Plugin.debugLog:   state change list for "Pi_7_alleyWay": {u'closestiBeacon': u'b-iHere_aiko@44.7'}
2019-12-16 14:45:49.388   DEBUG   Plugin.debugLog:   state change list for "s-5-bme680 inside": {u'status': u'20.2\xbaC/41%/1017.1 mbar/516%', u'sensorValue': 516.0, u'AirQualityChange1Hour': 12, u'GasResistance': 1187405, u'TemperatureChange6Hours': -0.3, u'TemperatureChange1Hour': -0.4, u'AirQualityChange5Minutes': 4, u'AirQualityChange6Hours': 40, u'AirQuality': 516, u'PressureChange1Hour': 0.6, u'lastSensorChange': u'2019-12-16 14:45:49', u'PressureChange4Hours': 0.4, u'HumidityChange1Hour': -1, u

I have 400k lines per day

Karl

Posted on
Mon Dec 16, 2019 3:00 pm
matt (support) offline
Site Admin
User avatar
Posts: 19735
Joined: Jan 27, 2003
Location: Texas

Re: logging dev state changes

We'll get those removed from Indigo 7.4.1.

Image

Posted on
Mon Dec 16, 2019 4:29 pm
kw123 offline
User avatar
Posts: 6823
Joined: May 12, 2013
Location: Dallas, TX

Re: logging dev state changes

nice would be a switch in the logger
some times I would like to see these

Karl

Posted on
Fri Feb 07, 2020 2:20 pm
matt (support) offline
Site Admin
User avatar
Posts: 19735
Joined: Jan 27, 2003
Location: Texas

Re: logging dev state changes

Indigo 7.4.1 is now available and reduces the amount of debug logging that occurs.

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest