[SailfishDevel] /var/log is not writable. Where do I create my logs then?

Artem Marchenko artem.marchenko at gmail.com
Thu Mar 13 22:58:55 UTC 2014


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
> 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/e3f0f4b8/attachment.html>


More information about the Devel mailing list