[kdepim-users] chatty akonadi apps

Daniel Vrátil dvratil at redhat.com
Mon Nov 10 10:52:41 GMT 2014


On Saturday 08 of November 2014 16:45:09 Kevin Krammer wrote:
> On Saturday, 2014-11-08, 14:10:52, Martin Steigerwald wrote:
> > Am Samstag, 8. November 2014, 13:53:21 schrieb Kevin Krammer:
> > > [1] when I restart Akonadi through the shell in a Konsole window I
> > > currently almost only see warning and errors being logged, the only
> > > debug
> > > type messages seem to come from search related components and I am not
> > > sure I turned their logging of yet.
> > 
> > Hmmm… I see more than that. Things like:
> > 
> > Executing search "searchUpdate-1415451627"
> > akonadiserver(13965) SearchPlugin::search: mail query
> > akonadiserver(13965) recursiveEmailTermMapping: "subject"
> > QVariant(QString,
> > "[…]")
> > akonadiserver(13965) SearchPlugin::search: "{ "term" : { "$and" : [ {
> > "$or"
> > 
> > : [ { "collection" : { "$ct" : "325" } } ] }, { "$and" : [ { "$or" : [ {
> > 
> > "subject" : { "$ct" : "[…]" } } ] } ] } ] }, "type" : [ "Email" ] }"
> > akonadiserver(13965) SearchPlugin::search: Got 3 results

This part comes from the AkonadiSearch plugin provided by Baloo. When you 
build Baloo in Release mode, he qDebugs should be silenced.


> > searchUpdateResultsAvailable 329 3 results
> > Got 3 results, out of which 3 are already in the collection
> > Added 0
> > Search done "searchUpdate-1415451627" (without remote search)
> > Search update finished
> > All results: 3
> > Removed results: 0

This part comes from the Server. It was actually using qDebugs instead of 
akDebugs, I fixed that in 1.13 branch (+ few more places that were using 
qDebug directly), so it will be silenced in next update.

> 
> The search related output I mentioned.
> 
> > or
> > 
> > request for item 1278344 succeeded
> > posting retrieval request for item 1279832  there are  1  queues and  0
> > items in mine
> > request for item 1279832 still pending - waiting
> > processing retrieval request for item 1279832  parts: ("HEAD")  of
> > resource: "akonadi_maildir_resource_0"
> > continuing

This is already using akDebug, so it's just you having Akonadi built with 
debugging enabled.

> 
> Right.
> Since this is Akonadiserver, it currently uses unconfigurable log since that
> was not available in Qt4.
> 
> It can be built without that though.
> 
> > Debugging is disabled in kdebugdialog.
> 
> As mention, doesn't affect Qt logging code.
> 
> Cheers,
> Kevin

-- 
Daniel Vrátil | dvratil at redhat.com | dvratil on #kde-devel, #kontact, #akonadi
Software Engineer - KDE Desktop Team, Red Hat Inc.

GPG Key: 0xC59D614F6F4AE348
Fingerprint: 4EC1 86E3 C54E 0B39 5FDD B5FB C59D 614F 6F4A E348
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20141110/0bd52946/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list