[SailfishDevel] /var/log is not writable. Where do I create my logs then?
Reto Zingg
reto.zingg at jolla.com
Fri Mar 14 07:28:02 UTC 2014
Hi,
On 14.03.2014 00:58, Artem Marchenko wrote:
> 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
>
see https://harbour.jolla.com/faq#2.14.0
"If $XDG_CACHE_HOME is either not set or empty, a default equal to
$HOME/.cache should be used."
and XDG_CACHE_HOME is currently not set on device out of the box.
br
Reto
>
>
> 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
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
>
More information about the Devel
mailing list