Re: chatty akonadi apps

Daniel Vrátil <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Organization Red Hat
Message-ID <2867327.ubvSpdfA7o@thor>
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 | [email protected] | 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

_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc (application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAABAgAGBQJUYJj7AAoJEMWdYU9vSuNI5asIAMjfkwCLmtS94APH/setauSi
g238ieK/1Oj0sc8Bs8fHenRrGOmvD96uucyl12LT9p7h9d37cwSLpqs/I/ay43/C
XvBqQQ+kyHRYicnYypW0i9FmEVHM35gn6CbnJRHE+C7KYRmTzrnYx7Gx96H47LOS
UDt2WorUGJd6or3FhH+ZPw7AAcrwRUEXg/S/xJvqIt5VB256sv22K8K6EpWHji2O
idDlzsa9PW7lmLBxD3vCzrYPefc59VcS1dcT/N6qkGduubbfR8yfu7p7K/cVdIzf
cTMqrWAsS71tjQKUH1bMTjAvZhKEy6w2ABQiruj+R4cY1TZ+44jUFA6EEU2jxsI=
=cChR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.