[prev in list] [next in list] [prev in thread] [next in thread]
List: nix-dev
Subject: Re: [Nix-dev] Redirect SDDM/LightDM (X.0.log & .xsession-errors) to JournalCTL
From: Roger Qiu <roger.qiu () matrix ! ai>
Date: 2016-01-29 4:37:14
Message-ID: 56AAEC7A.9070609 () matrix ! ai
[Download RAW message or body]
GDM apparently does this:
http://worldofgnome.org/in-gnome-3-12-systemd-will-track-xorg-logs/
But I'm not familiar with the source code.
On 29/01/2016 6:07 AM, Tuomas Tynkkynen wrote:
> 2016-01-28 20:47 GMT+02:00 Vladimír Čunát <vcunat@gmail.com>:
>> On 01/28/2016 12:21 PM, Roger Qiu wrote:
>>> But any ideas on how to redirect X.0.log?
>> X has -logfile option which seems like it only accepts paths. It should
>> be possible to hack around that via a named pipe, though that's not a
>> very nice solution. But maybe someone else was doing this already?
>>
> Maybe passing `-logfile /dev/stderr` could work (placing the output to
> display-manager.service's journal category)?
--
Founder of Matrix AI
https://matrix.ai/
+61420925975
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic