I'm probably being stupid but I can't figure out how to clear the quick logs which shows up under each test in the main window.
I want to do this as we are now putting HMon into a Production environment and would like to trash the older 'test' results.
I've created a script to reset the tests which seems OK but it doesn't clear the old logs.
What am I missing? - with thanks,
Rusty
Clear logs and / or quick logs
HostMonitor removes old records when it adds new log records.
If you want to remove log records right away, you may export test settings in to text file (menu File -> Export into text file), set "ImportMode = Replace" option (just insert such line on begining of text file) then import test settings using menu File -> Import from text file.
=================
ImportMode = Add
in this mode HostMonitor adds new tests to the list; prompts for confirmation when the test with specified name already exists within the list (in any folder). This mode is used by default as it conforms with the behavior of previous versions of HostMonitor (version 4.30 or earlier);
ImportMode = Modify
in this mode application adds new test if the test with specified name doesn't exist in the folder. Otherwise, HostMonitor replaces the test settings by those provided in the imported file. Statistical information (dead ratio, alive ratio, etc) is kept intact;
ImportMode = Replace
adds new test if the test with provided name doesn't exist in the specified folder. Otherwise, HostMonitor replaces the test settings with the settings that are specified in the imported file and resets all statistical information (similar to the effect of complete removing of an old test and then creating the new one instead.
=================
Regards
Alex
If you want to remove log records right away, you may export test settings in to text file (menu File -> Export into text file), set "ImportMode = Replace" option (just insert such line on begining of text file) then import test settings using menu File -> Import from text file.
=================
ImportMode = Add
in this mode HostMonitor adds new tests to the list; prompts for confirmation when the test with specified name already exists within the list (in any folder). This mode is used by default as it conforms with the behavior of previous versions of HostMonitor (version 4.30 or earlier);
ImportMode = Modify
in this mode application adds new test if the test with specified name doesn't exist in the folder. Otherwise, HostMonitor replaces the test settings by those provided in the imported file. Statistical information (dead ratio, alive ratio, etc) is kept intact;
ImportMode = Replace
adds new test if the test with provided name doesn't exist in the specified folder. Otherwise, HostMonitor replaces the test settings with the settings that are specified in the imported file and resets all statistical information (similar to the effect of complete removing of an old test and then creating the new one instead.
=================
Regards
Alex
I had a need to do this but it didnt work for me.
It does reset all statistics and recurrences but the quick log data remains. Where is the quick log data stored? The hml file right?
Do I need to import into a new hml file to get rid of quick log data?
Also, if I have a large folder structure that needs to be recreated in the new hml file. Is there an easier way to import the folders without adding a CreateFolder param for every folder in the test import file? This seems like a lot of work.
What am I missing?
Or does any of this really matter since the quick log is short and old entries will drop off when new ones are created.
It does reset all statistics and recurrences but the quick log data remains. Where is the quick log data stored? The hml file right?
Do I need to import into a new hml file to get rid of quick log data?
Also, if I have a large folder structure that needs to be recreated in the new hml file. Is there an easier way to import the folders without adding a CreateFolder param for every folder in the test import file? This seems like a lot of work.
What am I missing?
Or does any of this really matter since the quick log is short and old entries will drop off when new ones are created.
Yes, its stored in HML file.It does reset all statistics and recurrences but the quick log data remains. Where is the quick log data stored? The hml file right?
Why do you need to remove quick log records? They do not effect your statistics.
I think you may copy HML file and then just remove all test items. Pretty easy.Also, if I have a large folder structure that needs to be recreated in the new hml file. Is there an easier way to import the folders without adding a CreateFolder param for every folder in the test import file? This seems like a lot of work.
Quick Log stores just 10 records for each test.Or does any of this really matter since the quick log is short and old entries will drop off when new ones are created.
Regards
Alex