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

2014-03-14 Thread Reto Zingg

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.marche...@gmail.com mailto:artem.marche...@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



___
SailfishOS.org Devel mailing list


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

2014-03-13 Thread Artem Marchenko
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.marche...@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