Logging - Normal Vs. Debug

Started by Darius1968, November 21, 2021, 04:28:17 AM

Previous topic - Next topic

Darius1968

Debug logging is widely known, best for troubleshooting problems, in working within IMatch.  The Help says, however, it is best, that under normal circumstances, the logging mode, be set to normal.  Is performance significantly better (ie., faster), running the program, under Normal Logging? 

Mario

Debug logging is intended to be used to track down specific problems. It produces a lot more data and also runs some additional tests which can reduce performance.
Keep the default logging unless you really need debug logging or I ask you to enable it temporarily to track down the source of a problem you have reported.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

DigPeter

I find that debug logging has little effect on performance and keep it on.  But this generates an irritating warning each time I open IMatch.  Is there any way to stop this?

Mario

No. Debug logging should be off, unless needed. Hence the warning.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Josebr

As I put in another post. Debugging Mode boots my IMATCH 5 times faster. I know, I am the exception. I will do as Mario says and keep it off unless it's needed to figure something out.

Mario

I' quite sure that this in unrelated to debug logging. Something similar has never been reported and there is no technical reason why logging more data and doing extra work would result in a better performance.
From my experience, this sounds like some of the strange effect a virus checker or other 'security' software would cause.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Darius1968

Just a thought:  Maybe, the virus checker is interfering and intervening, in the presence of less work-load, with normal logging, because, it, nevertheless, see a different routine, and flags it. 

Carlo Didier

Quote from: DigPeter on November 21, 2021, 01:49:36 PM
I find that debug logging has little effect on performance and keep it on.  But this generates an irritating warning each time I open IMatch.  Is there any way to stop this?
Same here. Always on debug logging since I had some issues that come up only occasionally and are not reproducible.
Can't see a perfomance issue.

sinus

Quote from: Mario on November 21, 2021, 01:58:50 PM
No. Debug logging should be off, unless needed. Hence the warning.

Ha, could catch.
You know your user well.  ;D

I this warning would not be, I would use debug logging, but it is so akward, that I use normal logging.
So your idea works.  :)
Best wishes from Switzerland! :-)
Markus