Author |
|
ccrider Newbie
Joined: July 01 2018 Location: United States
Online Status: Offline Posts: 5
|
Posted: July 29 2018 at 13:12 | IP Logged
|
|
|
Running trial 2.1b
Can only get 10 events in the Event Window; is there a way to make it longer? 2 days would suffice for troubleshooting
Tried searching; found how to make it shorter (trim formula), but that's not where I'm at. :)
Thanks Much!
Chris
__________________ ES-1400e; yes that old...
|
Back to Top |
|
|
ccrider Newbie
Joined: July 01 2018 Location: United States
Online Status: Offline Posts: 5
|
Posted: July 29 2018 at 15:41 | IP Logged
|
|
|
N-E-V-E-R M-I-N-D
Found the difference between Powerhouse Status with the 'anemic' event display and the ***actual*** Event Log.
__________________ ES-1400e; yes that old...
|
Back to Top |
|
|
ccrider Newbie
Joined: July 01 2018 Location: United States
Online Status: Offline Posts: 5
|
Posted: July 29 2018 at 15:50 | IP Logged
|
|
|
OK; while I'm on the 'animal'; the ph.trimeventlog formula doesn't seem to shorten the log.
What am I doing wrong?
somebody slap me...
__________________ ES-1400e; yes that old...
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: July 29 2018 at 16:48 | IP Logged
|
|
|
The "mini" eventlog in the PowerHome Status window defaults to the last 10 events and is updated in realtime. It sounds as if you found the eventlog
report which will give you the full eventlog but is not updated and is essentially a snapshot of the log from the time you launched the report.
However, you can change the default number of rows in the realtime eventlog if you like but editing the pwrhome.ini file. Under the [PowerHome Status]
section, you should see the parameter "eventlogrows=10". Just change the 10 to a value that suits you and then save the file. You'll need to restart or
reinit PowerHome for this change to take effect.
In your message, you seem to be using the VBA function ph.trimeventlog(). This should work but I would first verify that the PowerHome function
ph_trimeventlog is properly working. This function takes a single parameter, the number of days worth of data you want to keep. If you use a value of 1,
it will discard all eventlog data prior to 00:00:00 of the current day. So if you run it now and the current time is 17:46:00, you will only have data for
the current day from 00:00:00 to 17:46:00. Only the current days worth of data. A value of 2 will have the entire previous day and the current day's data.
I would also verify the return from the function is returing a 0. Any other value means an error occurred and the log would not have been trimmed.
Hope this helps,
Dave.
|
Back to Top |
|
|
ccrider Newbie
Joined: July 01 2018 Location: United States
Online Status: Offline Posts: 5
|
Posted: August 01 2018 at 19:07 | IP Logged
|
|
|
Thanks Dave!
__________________ ES-1400e; yes that old...
|
Back to Top |
|
|