Comment 0 for bug 584333

Revision history for this message
Jon Skanes (jon-skanes) wrote :

kdelibs5=4:4.4.3a-0ubuntu1~ppa1

I just noticed my .xsession-errors file is FULL of messages that would qualify as being as unimportant as LOG_NOTICE.

-rw------- 1 jon jon 146520744 2010-05-22 17:40 .xsession-errors

17:41:38 up 17 days, 1:13

That seems a bit verbose. On a production system with little disk space, such as the one I'm using now, it is a problem. On the system of a casual, computer illiterate user, it would probably grow indefinitely and become a BIG PROBLEM. It also makes tracking down errors more difficult--needles in haystacks.

Most of the messages are normal status messages from various KDE libraries and apps so picking a package means picking dozens. Don't worry, KDE. I'm not just picking on you. Firefox is another culprit.

Is there a debug level setting for a KDE session? Maybe KDE should add a syslog type service and log to a different file altogether. A syslog type service for KDE could be useful in other ways too--prepending PID, app name, and library to a log message might be useful when things really do go wrong.

.KDE-session-errors, anyone? Separating KDE and X messages seems like it might be a nice idea as well.

For your log reading enjoyment, here are a few snippets:

KDEPIM and what looks like Kopete

CLIENT: RequestPictureTask: Task::done()
CLIENT: RequestPictureTask: emitting finished
Transfer ACCEPTED by: StatusNotifierTask
Transfer ACCEPTED by: PictureNotifierTask
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
CLIENT: Task: Task::done()
CLIENT: Task: emitting finished
CLIENT: RequestPictureTask: Task::done()
CLIENT: RequestPictureTask: emitting finished
Transfer ACCEPTED by: StatusNotifierTask
Transfer ACCEPTED by: PictureNotifierTask
kio_imap4(11206)/kio_imap IMAP4Protocol::dispatch: IMAP4::dispatch - command= 80
kio_imap4(11206)/kio_imap IMAP4Protocol::dispatch: IMAP4::dispatch - command= 77
kio_imap4(11206)/kio_imap IMAP4Protocol::special: IMAP4Protocol::special
kio_imap4(11534)/kio_imap IMAP4Protocol::dispatch: IMAP4::dispatch - command= 80
kio_imap4(11534)/kio_imap IMAP4Protocol::dispatch: IMAP4::dispatch - command= 77
kio_imap4(11534)/kio_imap IMAP4Protocol::special: IMAP4Protocol::special
CLIENT: Task: Task::done()
CLIENT: Task: emitting finished
kio_imap4(11206)/kio_imap IMAP4Protocol::dispatch: IMAP4::dispatch - command= 80
kio_imap4(11206)/kio_imap IMAP4Protocol::dispatch: IMAP4::dispatch - command= 77
kio_imap4(11206)/kio_imap IMAP4Protocol::special: IMAP4Protocol::special
kio_imap4(11534)/kio_imap IMAP4Protocol::dispatch: IMAP4::dispatch - command= 80
kio_imap4(11534)/kio_imap IMAP4Protocol::dispatch: IMAP4::dispatch - command= 77
kio_imap4(11534)/kio_imap IMAP4Protocol::special: IMAP4Protocol::special
CLIENT: Task: Task::done()
CLIENT: Task: emitting finished

TODO Messages? Not really helpful to an end user.
kontact(3701)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_korganizer.so" does not offer a qt_plugin_instance function.
kontact(3701)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_korganizer.so" does not offer an "init_kcm_korganizer" function
.
kontact(3701)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_korganizer.so" does not offer a qt_plugin_instance function.
kontact(3701)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_korganizer.so" does not offer an "init_kcm_korganizer" function
.
kontact(3701)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_korganizer.so" does not offer a qt_plugin_instance function.
kontact(3701)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_korganizer.so" does not offer an "init_kcm_korganizer" function
.
kontact(3701)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_korganizer.so" does not offer a qt_plugin_instance function.
kontact(3701)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_korganizer.so" does not offer an "init_kcm_korganizer" function
.
And more Kopete:
CLIENT: Task: Task::done()
CLIENT: Task: emitting finished
CLIENT: LoginTask: Task::done()
CLIENT: LoginTask: emitting finished
CLIENT: ListTask: Task::done()
CLIENT: ListTask: emitting finished
CLIENT: StatusNotifierTask: Task::done()
CLIENT: StatusNotifierTask: emitting finished
CLIENT: MailNotifierTask: Task::done()
CLIENT: MailNotifierTask: emitting finished
CLIENT: MessageReceiverTask: Task::done()
CLIENT: MessageReceiverTask: emitting finished
CLIENT: PictureNotifierTask: Task::done()
CLIENT: PictureNotifierTask: emitting finished
CLIENT: WebcamTask: Task::done()
CLIENT: WebcamTask: emitting finished
CLIENT: ConferenceTask: Task::done()
CLIENT: ConferenceTask: emitting finished
CLIENT: YABTask: Task::done()
CLIENT: YABTask: emitting finished
CLIENT: FileTransferNotifierTask: Task::done()
CLIENT: FileTransferNotifierTask: emitting finished
CLIENT: YahooChatTask: Task::done()
CLIENT: YahooChatTask: emitting finished

Happy Victoria Day Weekend!
Jon