Qt 5.3 to log all debug/warning/error messages to journald on systemd systems

Michael Jansen info at michael-jansen.biz
Tue Jan 21 11:51:21 GMT 2014


On Monday 20 January 2014 14:40:17 Thiago Macieira wrote:
> See subject. We're trying to decide whether we should enable journald by
> default on Linux distributions that carry it. If we do, it means any
> application that is not launched from a terminal would automatically write
> to journald instead.
> 
> KDE applications are the largest users of qDebug today.
> 
> If we changed the default, it would mean ~/.xsession-errors would probably
> become rather empty. Is that ok for KDE?

I think for distributions this is ok. But for developers .xsession-errors 
sometimes gets pretty big (just look at your own :) ). Which should not be a 
problem if there is a simple way to stop qt forwarding those messages to 
journalctl and get stuff back to .xsession-errors. Or there is a good 
documented alternative way using journalctl features reaching similar results.

Mike


-- 
Michael Jansen
http://michael-jansen.biz




More information about the kde-core-devel mailing list