Missing Log Entries

I’m running PLC and PLEG 7.11. I have a very simple PLEG that monitors a thermostat’s ModeState and turns on a ceiling fan a minute after ModeState equals Cooling. This PLEG works fine and has done so for months. It is on a Vera Lite that has 27MB free RAM and not abnormal behavior, restarts, errors.

Recently, I’ve come to suspect a problem with my HVAC. I decided that it would be simple to confirm this by comparing its run times over the past several days. However, upon searching Vera’s logs(on USB) I’ve found large gaps of missing entries from this PLEG in the logs.

For example: LuaUPnP.Log.1.gz spans from 9/1/2014 20:00 to 9/2/2014 8:00 This log has no ModeState entries between 9/1/2014 20:00 and 9/2/2014 2:00. That’s a 12 hour log file with no entries from this PLEG for the first 6 hours, even though I watched the ceiling fan cycle repeatedly during this time.

Similarly, the previous log spans 20 hours but shows ModeState entries from the PLEG for only a ~1.5 hour span, despite it having cycled on and off for the entire time.

Since logging for everything else at least appears to be normal and I’m not seeing any errors, I must suspect the PLEG is the cause of the missing entries. Is anyone else seeing this? Is this a known issue?

Did you play with the Log setting during this time …
PLEG has the following log options:

  1. None
  2. Saved in Vera log file … but they logs get recycled … and hard to trace events over a long period.
  3. It’s own log file … great for long periods … but these do not get recycled … so it’s up to you to delete (set option 1).

No changes were made to Vera for weeks prior to my discovery and logging was using default configurations, except for the USB logging.

I will switch the PLEG to maintain its own log and see what happens.

Thanks Richard.