[PATCH v2 2/2] xf86LogInit: log to XDG_DATA_HOME when not running as root

Hans de Goede hdegoede at redhat.com
Wed Mar 26 07:15:00 PDT 2014


Hi,

On 03/26/2014 12:51 PM, Mark Kettenis wrote:
>> From: Hans de Goede <hdegoede at redhat.com>
>> Date: Wed, 26 Mar 2014 12:24:50 +0100
>>
>> When no logfile was specified (xf86LogFileFrom == X_DEFAULT) and
>> we're not running as root log to $XDG_DATA_HOME/xorg/Xorg.#.log as
>> Xorg won't be able to log to the default /var/log/... when it is not
>> running as root.
> 
> Having log files in .../share/... feels wrong.

I know, but if we want to stick to the XDG guidelines for this (which I
say we do), this is where they are supposed to go.

Regards,

Hans


More information about the xorg-devel mailing list