Filterin the debug output

Thiago Macieira thiago at kde.org
Tue Oct 23 12:45:58 BST 2007


Em Tuesday 23 October 2007 13:19:56 Kevin Krammer escreveu:
> Probably those outputs are from kDebug() lines, i.e. usage without debug
> area.

Format is (EBNF for those who like it):
  program name, "(", pid, ")", ["/", area name], function name, ":", message

area-name is only printed if it's different from the program name.

So, in:
konqueror(9016) KHTMLPluginKTTSD::KHTMLPluginKTTSD: [...]

This is Konqueror, PID 9016, with an area whose name is empty or equal 
to "konqueror", in function KHTMLPluginKTTSD::KHTMLPluginKTTSD.

klauncher(4981)/kio (KLauncher) KLauncher::requestSlave: [...]

This is klauncher, PID 4981, area whose name is "kio" (that is, 7000), in 
function KLauncher::requestSlave.

There are two different reasons why you're getting them:
1) for the former, it's either area 0 (always printed) or an unknown area. 
Currently, unknown area = area 0. With the patch I've just posted, it's 
area -1, which won't print.

2) for the klauncher one, it probably requires restarting after area 7000 got 
disabled.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071023/83447bbb/attachment.sig>


More information about the kde-core-devel mailing list