<table><tr><td style="">sitter created this revision.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />sitter requested review of this revision.
</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/D19508">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>the previous logging tech got kind of defunct in 2014 (to the point where<br />
it was basically qCDebug). seeing as no one really complained it seems<br />
reasonable to just move to qCDebug instead and make use of category filters<br />
and other qdebug goodness (such as system logging facilities for the<br />
various platforms)</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">new logging category kf5.kconfig.update; at info level by default (i.e. unless otherwise configured kconf_update is now silent)</li>
<li class="remarkup-list-item">--debug cmdline option now also attempts to force-enable the debug mode on that category (and debugs that attempt in of itself, so we don't get confused by categories magically getting enabled).</li>
<li class="remarkup-list-item">all log() calls are now qCDebug calls</li>
<li class="remarkup-list-item">all logFileErorr() calls (which was context-sensitive to the .upd file parsing) have been changed to qCDebugFile</li>
<li class="remarkup-list-item">qCDebugFile is a new *macro* wrapping around qCDebug to give it file context</li>
<li class="remarkup-list-item">everything is now qCDebug instead of qDebug</li>
<li class="remarkup-list-item">arguments updated to drop excess quoting and spaces to reduce "noise"</li>
</ul>
<p><a href="https://markmail.org/thread/ofaeqcabguxyohyb" class="remarkup-link" target="_blank" rel="noreferrer">https://markmail.org/thread/ofaeqcabguxyohyb</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>updater still works and debugs when debug is enabled</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R237 KConfig</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19508">https://phabricator.kde.org/D19508</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
src/kconf_update/CMakeLists.txt<br />
src/kconf_update/kconf_update.cpp</div></div></div><br /><div><strong>To: </strong>sitter<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>