<table><tr><td style="">murveit added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27437">View Revision</a></tr></table><br /><div><div><p>Jasem, I understand you sentiments, but in this case I respectfully disagree.<br />
Here, the first 3 debug log statements will add at most one line per initiation of autofocus, and most likely nothing at all.<br />
That's 0-10 or 20 lines in logs that can be > 100K lines. The final log statement would add one one line per capture. <br />
While that could be a hundred lines per log, again, a tiny percentage, and could help us debug a hard-to-find bug.</p>
<p>How about this: any time someone adds a log statement, they should estimate the number of lines added.<br />
Perhaps we should also schedule removal of such lines.</p>
<p>Also, it would make sense to go over the current logging and decide which statements are no longer necessary.<br />
I think that makes more sense than adding another debugging layer.</p>
<p>In any case, I'd recommend that we add the statements in this PR in hopes that they help us find the current issues, <br />
and then discuss in a month or two whether to remove them.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27437">https://phabricator.kde.org/D27437</a></div></div><br /><div><strong>To: </strong>murveit, mutlaqja<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>