I've noticed some odd behavior lately from Ultralog. I've been looking at this for the past week or so. I'm not exactly sure when it started. Currently I'm running 2.4.0.66 and Ultralog 1.2.3941.15260.
A few days ago I shutdown HS, deleted Homeseerdb.mdb and replaced with a clean copy from the update directory as I thought I might have some db corruption going on.
Anyway, what happens is that over time Ultralog stops recording records to the database. I finally figured out that they aren't lost but just aren't in the database. If I disable/enable the plugin the records appear. Opening and closing the db connection from the HS status page does not flush the records. Disabling the plugin alone does not flush them. Only enabling the plugin flushes the records to the database.
I've attached several files for your examination.
At 10:26pn, I enabled Ultralog debug
At 10:31pm I disabled the plugin
"Copy (4) Homeseerdb.mdb" is the database right after. You can notice that most of the debug lines are in there but there are only 3 records from 9:30am to 10:26pm. A few records that happened between 10:26 & 10:31 are not there as well.
At 10:33pm I enabled the plugin
"copy (5) Homesserdb.mdb" is the database right after. You can see that I now have records from 9:30am forward
I also included a copy of my Homeseer.log for comparison with the db.
Any ideas of what's going on? Any information i can provide to help to figure out what's going on?
One other item that I noticed- when in debug mode the plugin periodically lists the event triggers that are setup for log matches. The events would then trigger since the trigger phrase was in the log from the debug output. It would be nice if the events didn't trigger off the debug output ( I have them disabled right now so you won't see them tiggering in the logs above).
thanks
jim
A few days ago I shutdown HS, deleted Homeseerdb.mdb and replaced with a clean copy from the update directory as I thought I might have some db corruption going on.
Anyway, what happens is that over time Ultralog stops recording records to the database. I finally figured out that they aren't lost but just aren't in the database. If I disable/enable the plugin the records appear. Opening and closing the db connection from the HS status page does not flush the records. Disabling the plugin alone does not flush them. Only enabling the plugin flushes the records to the database.
I've attached several files for your examination.
At 10:26pn, I enabled Ultralog debug
At 10:31pm I disabled the plugin
"Copy (4) Homeseerdb.mdb" is the database right after. You can notice that most of the debug lines are in there but there are only 3 records from 9:30am to 10:26pm. A few records that happened between 10:26 & 10:31 are not there as well.
At 10:33pm I enabled the plugin
"copy (5) Homesserdb.mdb" is the database right after. You can see that I now have records from 9:30am forward
I also included a copy of my Homeseer.log for comparison with the db.
Any ideas of what's going on? Any information i can provide to help to figure out what's going on?
One other item that I noticed- when in debug mode the plugin periodically lists the event triggers that are setup for log matches. The events would then trigger since the trigger phrase was in the log from the debug output. It would be nice if the events didn't trigger off the debug output ( I have them disabled right now so you won't see them tiggering in the logs above).
thanks
jim
Comment