Forum Discussion
You can use the setting that I mentioned at the very top of this thread. It will limit the entries to the log that are just comments that you really only need when you have an error. That will cut the file size down, but I don't know if it will be as much as you want.
If you go and try the things that tristaanogre and I have suggested, it will give you a better idea of what is possible. We can't tell you exactly how it is going to work because we don't know your tests. You are the best judge of that. Try it and let us know what happens.
Really, it comes down to how much you're logging and what you're logging. The size of the MHT file is determine, entirely, but what the log contains. Marsha_R will reduce the number of "Event" logs that are automatically generated when you "click" or "keys" or such things. There is a setting to determine if you're going to take a screenshot when an error is generated. If you turn that off, that will reduce the log by some size.
If you are using a lot of Log.Message or Checkpoints or things like that, they will be written to the log all the time. It you really want to reduce your log size, then you should go through your project and remove any unnecessary logging.
- nisgupta6 years agoValued Contributor
Thanks for the updates
I followed the recommendations mentioned by Marsha_R . Size has been greatly reduced. I have attached the screenshot.
When store Last =3 size is 1438 KB
When store Last = 0 size is 16257 KB
reduction of almost 15 MB.
yes I am doing some property checkpoint but that is for the expected result.
I will continue to run other tests and see how it will be total size.
Thanks
Nishchal
- tristaanogre6 years agoEsteemed Contributor
Good. I figured that would have a major impact on things
- Marsha_R6 years agoChampion Level 3
It's amazing what experimenting and trying things out will tell you. ;)
- nisgupta6 years agoValued Contributor
Related Content
Recent Discussions
- 4 hours agoSvetaG