<table><tr><td style="">dfaure 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/D14643">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D14643#304608" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D14643#304608</a>, <a href="https://phabricator.kde.org/p/ltoscano/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@ltoscano</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><p>I was under the impression that we were generally moving towards less chatty components by default, which included having Warning as minimum default level.<br />
Unfortunately I don't remember anymore how I've got this idea, but I remember some patches setting the default level to Warning.<br />
Is there then an official policy for Frameworks? And outside Frameworks?</p></div>
</blockquote>
<p>ECM defines the policy: the default severity is Info.</p>
<p>Since qCInfo is very rarely used, Info or Warning doesn't make a huge difference per se, it's just more correct that info works out of the box.<br />
AFAICS the patches that set the default level to Warning were back when the default was actually Debug (before the ECM macro, or for code that doesn't use it)...</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>It is true that Debian dropped the default qtlogging.ini file, but the first feedback from Fedora, for example, showed a strong desire of non-chatty at all.<br />
If you think that this can be achieved by reevaluating all the current qCInfo to fit them to qCDebug, then I will write more specific patches (in this case, for example, kf5.kio.favicons is too chatty; another case is kf5.kservice.sycoca).</p></blockquote>
<p>I don't see any qCInfo in KIO or in KService. I think you're still referring to qCDebugs or qDebugs there.<br />
In fact the only qCInfo usage in KF5 is in plasma-framework (and it's indeed wrong, these look like debug statements, feel free to port them to qCDebug).</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>But an official policy would be needed at least for Frameworks.</p></blockquote>
<p>I made it official in the ECM macro ;-)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14643">https://phabricator.kde.org/D14643</a></div></div><br /><div><strong>To: </strong>ltoscano, dfaure<br /><strong>Cc: </strong>dfaure, kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>