<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head><body style="">
<div>
Hi,
</div>
<div>
</div>
<div>
How is this
<span style="color: #000000; font-family: monospace; font-size: medium;">$XDG_CACHE_HOME</span> 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.
</div>
<div>
I think that if the installer can create
<span style="color: #000000; font-family: monospace; font-size: medium;">$XDG_CACHE_HOME</span> and put the right permissions it would work.
</div>
<div>
</div>
<div>
BR
<br />Erik
</div>
<div>
</div>
<div>
</div>
<blockquote style="position: relative; margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
Den den 13 mars 2014 klockan 23:58 skrev Artem Marchenko <artem.marchenko@gmail.com>:
<br />
<br />
<div dir="ltr">
P.S.
<div>
Actually harbour FAQ tells to put at least my cache files to
<span style="color: #000000; font-family: monospace; font-size: medium;">$XDG_CACHE_HOME </span>subdir that is /var/log/harbour-myapp . So I guess having /var/log unwritable is a bug then
</div>
<div>
</div>
<div>
</div>
</div>
<div class="gmail_extra">
<br />
<br />
<div class="gmail_quote">
On Fri, Mar 14, 2014 at 12:55 AM, Artem Marchenko
<span><<a target="_blank" href="mailto:artem.marchenko@gmail.com">artem.marchenko@gmail.com</a>></span> wrote:
<br />
<blockquote style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div dir="ltr">
Hi All
<div>
</div>
<div>
/var/log is not writable by user nemo, so what is a good location for my log files then?
</div>
<div>
</div>
<div>
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.
</div>
<div>
</div>
<div>
So is /var/log not writable by mistake?
</div>
<div>
Or where shall I create my log files instead?
</div>
<div>
And do I have to clean them myself or can I somehow register them for deletion once a month or so?
</div>
<div>
</div>
<div>
Cheers,
</div>
<div>
Artem.
<span class="HOEnZb"><span class="HOEnZb"><span style="color: #888888;"><br clear="all" /></span></span></span>
<div>
</div>
<span class="HOEnZb"><span style="color: #888888;">-- <br />Artem Marchenko<br /><a target="_blank" href="http://agilesoftwaredevelopment.com">http://agilesoftwaredevelopment.com</a><br /> <a target="_blank" href="http://twitter.com/AgileArtem">http://twitter.com/AgileArtem</a> </span></span>
</div>
</div>
</blockquote>
</div>
<br />
<br clear="all" />
<div>
</div> --
<br />Artem Marchenko
<br />
<a target="_blank" href="http://agilesoftwaredevelopment.com">http://agilesoftwaredevelopment.com</a>
<br />
<a target="_blank" href="http://twitter.com/AgileArtem">http://twitter.com/AgileArtem</a>
</div>
</blockquote>
<div>
<br />
</div>
</body></html>