[SailfishDevel] /var/log is not writable. Where do I create my logs then?
Erik Ridderby
erik at ridderby.se
Fri Mar 14 06:52:52 UTC 2014
Hi,
How is this $XDG_CACHE_HOME created? Is that something you setup in the
yaml-file? Because even though /var/log is read only /var/log/my-app can be read
and write without problem.
I think that if the installer can create $XDG_CACHE_HOME and put the right
permissions it would work.
BR
Erik
> Den den 13 mars 2014 klockan 23:58 skrev Artem Marchenko
> <artem.marchenko at gmail.com>:
>
> P.S.
> Actually harbour FAQ tells to put at least my cache files to $XDG_CACHE_HOME
> subdir that is /var/log/harbour-myapp . So I guess having /var/log unwritable
> is a bug then
>
>
>
>
> On Fri, Mar 14, 2014 at 12:55 AM, Artem Marchenko <artem.marchenko at gmail.com
> <mailto:artem.marchenko at gmail.com> > wrote:
> > > Hi All
> >
> > /var/log is not writable by user nemo, so what is a good location for my
> > log files then?
> >
> > I log certain events to journalctl, but I also would want app specific
> > log file(s) for longer term analysis. /var/log looked like a good place,
> > because it is standard and cleaned once in a while, so I don't need to care
> > about deleting own old logs.
> >
> > So is /var/log not writable by mistake?
> > Or where shall I create my log files instead?
> > And do I have to clean them myself or can I somehow register them for
> > deletion once a month or so?
> >
> > Cheers,
> > Artem.
> >
> > --
> > Artem Marchenko
> > http://agilesoftwaredevelopment.com
> > http://twitter.com/AgileArtem
> > >
>
>
> --
> Artem Marchenko
> http://agilesoftwaredevelopment.com
> http://twitter.com/AgileArtem
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140314/535cff82/attachment.html>
More information about the Devel
mailing list