Are you referring to the ~/.xsession-errors? This is a text file containing the error logs of X applications, where would you place your bash fragment?

On 28/01/2016 7:23 AM, zimbatm wrote:
I don't know about X.0.log but since .xsession is just a bash script you could use something like:

|#!/usr/bin/env bash |
|exec &> | logger & |
|# the usual stuff |


On Tue, 26 Jan 2016 at 05:01 Roger Qiu <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    How does one redirect the logs (X.0.log) and (~/.xsession-errors) to
    journalctl?

    Apparently GDM
    (http://worldofgnome.org/in-gnome-3-12-systemd-will-track-xorg-logs/)
    now does this, but SDDM doesn't.

    I would prefer to be able to centalise all logs into journalctl.

    Thanks,
    Roger

    --
    Founder of Matrix AI
    https://matrix.ai/
    +61420925975

    _______________________________________________
    nix-dev mailing list
    [email protected] <mailto:[email protected]>
    http://lists.science.uu.nl/mailman/listinfo/nix-dev


--
Founder of Matrix AI
https://matrix.ai/
+61420925975

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to