Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Event Log Issues Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
GadgetGuy
Super User
Super User
Avatar

Joined: June 01 2008
Location: United States
Online Status: Offline
Posts: 942
Posted: August 19 2014 at 17:38 | IP Logged Quote GadgetGuy

Just posting this so others can jump in to help Dave figure out what may be going on, with the aid of multiple examples.

I am having continuing issues with the Event Log in 2.1.5.

On a few occasions it has opened up with clock times that are in the future by 10-20 minutes.

If I hit F5 to refresh the window, it often populates with events from up to 12 hours in the past. Sometimes it takes 2-4 attempts to get the window to show the last current event times.

Occasionally, the Event Log will NEVER even refresh. After 30 minutes of waiting, the window is still grayed out and PH is "non-responsive."

If I click on the "Cancel" button in the upper right of the Event Log window it is a VERY long time before anything happens. By the time it responds the updating is usually just about finished anyway.

Also when the Event Log is updating I often have to wait an extended period before any mouse actions are effective.

It would appear that the Threading operation is not relinquishing control to other actions.



__________________
Ken B - Live every day like it's your last. Eventually, you'll get it right!
Back to Top View GadgetGuy's Profile Search for other posts by GadgetGuy
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: August 20 2014 at 16:43 | IP Logged Quote smarty

Ken,
I too am seeing this odd "jumping around" time/date wise when I hit the F5 refresh. It doesn't seem to hang for me (thank goodness), but I sometimes have to hit F5 a couple of times before I see current events.

FYI... I trim my event log every night, so it really isn't overly large (maybe that is why it doesn't seem to hang).

Edited by smarty - August 20 2014 at 16:44


__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
GadgetGuy
Super User
Super User
Avatar

Joined: June 01 2008
Location: United States
Online Status: Offline
Posts: 942
Posted: August 20 2014 at 18:43 | IP Logged Quote GadgetGuy

I too trim mine every night to hold no more than 2 days of
records. That helps a lot to have the Event Log load
completely in a reasonable time. :-)

Thanks for confirming I am not alone in this unusual Event
Log time behaviors.


__________________
Ken B - Live every day like it's your last. Eventually, you'll get it right!
Back to Top View GadgetGuy's Profile Search for other posts by GadgetGuy
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: October 11 2014 at 07:42 | IP Logged Quote BeachBum

I have had problems where the system appears to hang but when I re-boot the log does not show the restart of PH just the next event. And I have also seen the above.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: December 12 2014 at 07:00 | IP Logged Quote BeachBum

BUMP.. Dave, any thoughts on fixing the log? I have large gaps when a global is set with a large amount of data. The log gets truncated.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 12 2014 at 16:40 | IP Logged Quote dhoward

Pete,

The new version (2.1.5b) has the eventlog viewer completely rewritten. There were definite problems in 2.1.5a with gaps showing in the viewer especially if you canceled and did not let all the rows retrieve.

Do you know if your problem is related to the actual log or how the viewer is displaying the entries? Are you able to create a scenario that I can recreate on my end? My concern is if there is an actual problem with the log itself and not the viewer, then it has not been addressed in the new version.

Let me know as Ive nearly finalized the executable and if its indeed something wrong with the actual log, I'd like to try and get it fixed.

One test you can try on your end is to open the viewer, let all the records retrieve, then once the records are done retrieving, sort them (different from the default), then sort them back the same as default. Review the log and see if the issues are still there.

Thanks,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: December 12 2014 at 19:58 | IP Logged Quote BeachBum

Dave, the problem seems to appear if there is a large amount of data associated with the entry. Then the log will have a gap of several hours. Also if I reinit all entries associated with the reason why I reinit are not there if that makes any sense. I don't know if it has to do with the actual log or the viewer. I will try your suggestions

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: December 12 2014 at 22:26 | IP Logged Quote BeachBum

This is what it looks like. Notice the large gap in time...



__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 12 2014 at 23:13 | IP Logged Quote dhoward

Pete,

Can you zip and email me your phlogs.db file?

Thanks,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: December 13 2014 at 20:22 | IP Logged Quote BeachBum

Done...

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 13 2014 at 21:41 | IP Logged Quote dhoward

Pete,

Received your eventlog and checked it out. Looked through the entire log and could find no significant gaps (biggest gap was around 20 minutes in early morning hours).

I also checked the area from your screenshot above and that gap is not there.



Based upon this, I think we're ok. It doesnt appear to be problem with the actual database log file and appears to just be an issue with the 2.1.5a log viewer. Checking it with the new 2.1.5b log viewer and everything looks good.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: December 13 2014 at 22:24 | IP Logged Quote BeachBum

The way it was behaving I suspected the viewer as the size wasn't shrinking. I still show a big gap at 07.01.05 to 14.16.57 and another at 14.32.02 to 20.15.18.
Thanks for checking into it.....

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: December 18 2014 at 12:41 | IP Logged Quote BeachBum

FYI.. 2.1.5B cleaned it up nicely. Job well done.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 18 2014 at 12:47 | IP Logged Quote dhoward

Pete,

AWESOME NEWS! Glad to hear it fixed the issue.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum