[Development] Cake and eating it too for qDebug printing to system log - https://codereview.qt-project.org/89357

Thiago Macieira thiago.macieira at intel.com
Thu Jul 10 01:20:58 CEST 2014


On Wednesday 09 July 2014 14:43:36 Thiago Macieira wrote:
> Current Linux desktops with journald:
>  - default stderr: captured into ~/.xsession-errors
>  - system logging available: available
>  - is stderr useful: yes, for launching from terminal
> [when Linux desktops start using user-mode systemd, it will be as below]

Note: if journald is writing to volatile storage, regular users can't read the 
log. Therefore, system logging is *not* available.

Linux distributions should not enable journald logging unless regular users 
can read the output.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list