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

Jasper St. Pierre jstpierre at mecheye.net
Wed Mar 26 18:08:38 PDT 2014


It seems to me like they should be in ~/.cache/, which is where
non-important files that are mostly transient should go.


On Wed, Mar 26, 2014 at 10:15 AM, Hans de Goede <hdegoede at redhat.com> wrote:

> 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
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>



-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140326/c50f903a/attachment.html>


More information about the xorg-devel mailing list