Log at midnight AND when reply value changes

Need new test, action, option? Post request here.
Post Reply
Wabiloo
Posts: 26
Joined: Thu Jun 05, 2008 12:15 am

Log at midnight AND when reply value changes

Post by Wabiloo »

Hi,

In the Log settings options, I find 4 options: Full, Brief, Midnight and Reply.
The problem I have is the following: when using the 4th one (new log everytime reply value changes, and trying to create reports with the log analyzer, I often find that the X-axis for all charts is different. Indeed, if one of the tests hasn't changed status or reply value for the last month, that test does not log any new entry, and therefore doesn't have any current value in the logs.

Would it therefore be possible to have a 5th log mode, which combines Midnight and Reply, ie. "write a record when test status or reply value changes + midnight logging".
Also, would it be possible to define what time I would like the daily log to be done (ie. not necessarily midnight)
-
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Would it therefore be possible to have a 5th log mode, which combines Midnight and Reply, ie. "write a record when test status or reply value changes + midnight logging".
I think its better to modify Reply logging mode a little so it will record data at midnight as well.
Also, would it be possible to define what time I would like the daily log to be done (ie. not necessarily midnight)
H'm... is this really necessary?
May be we can add HM Script command, something like "FlushTheLog" :roll:

Regards
Alex
Wabiloo
Posts: 26
Joined: Thu Jun 05, 2008 12:15 am

Post by Wabiloo »

KS-Soft wrote:
Would it therefore be possible to have a 5th log mode, which combines Midnight and Reply, ie. "write a record when test status or reply value changes + midnight logging".
I think its better to modify Reply logging mode a little so it will record data at midnight as well.
That's fine by me (makes it simpler and hopefully does not inconvenience other users).
Also, would it be possible to define what time I would like the daily log to be done (ie. not necessarily midnight)
H'm... is this really necessary?
May be we can add HM Script command, something like "FlushTheLog" :roll:

Regards
Alex
You are probably right, the only reason I was thinking about non-midnight is that in my system the activity at midnight is not very representative, but I guess the only point of it is really to ensure that I have a least 1 record per day in the logs (for charting purposes). Will it still log something for the tests that have schedules where night time is excluded though?

The FlushTheLog script command, could it effectively be used to say "no matter what the current status or values are, create a new log entry for every single test"? If so, that would be awesome and would definitely be the best approach. I would run it before creating the charts, so that I have the same datetime for the last log corresponding to each test and therefore the same horizontal axis for all charts (which is the actual aim of my thread).
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Will it still log something for the tests that have schedules where night time is excluded though
Can be a problem for "out of schedule" items...
The FlushTheLog script command, could it effectively be used to say "no matter what the current status or values are, create a new log entry for every single test"?
Yes. I think we implement this option in version 8.00

Regards
Alex
Post Reply