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]> 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]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to