[Nix-dev] Redirect SDDM/LightDM (X.0.log & .xsession-errors) to JournalCTL

Roger Qiu roger.qiu at matrix.ai
Thu Jan 28 04:34:01 CET 2016


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 <roger.qiu at matrix.ai 
> <mailto:roger.qiu at matrix.ai>> 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
>     nix-dev at lists.science.uu.nl <mailto:nix-dev at lists.science.uu.nl>
>     http://lists.science.uu.nl/mailman/listinfo/nix-dev
>

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160128/1d4f05c6/attachment.html 


More information about the nix-dev mailing list