[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] gnunet-arm behaviour
From: |
Hartmut Goebel |
Subject: |
Re: [GNUnet-developers] gnunet-arm behaviour |
Date: |
Thu, 2 May 2019 10:44:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Am 01.05.19 um 10:35 schrieb Christian Grothoff:
> Are you aware that our logging subsystem can do log rotation (and that
> we would then only keep the logs for the last 3 days)?
IMO gnunet should not re-implement operating system tasks, for several
reasons:
- logging should be done using the platforms mechanisms to ease the
users' live
- the OS logging subsystem should be able to take care of rotation, disk
exhaustion, what ever,
- implementing all of log-subsystem features again is a huge effort,
waste of (wo)men-power and time
On 5/1/19 7:45 AM, IC Rainbow wrote:
> Maybe log in ~/.local/share/gnunet by default?
IMHO this is a bad place, as barely nobody would look for logs here,
esp. not in "share".
For Linux it might be worth having a look at how to manage services
under the user's control with a per-user systemd instance [2], including
proper logging.
Literature:
[1] http://0pointer.de/blog/projects/journal-submit.html
[2] https://wiki.archlinux.org/index.php/Systemd/User
--
Regards
Hartmut Goebel
| Hartmut Goebel | address@hidden |
| www.crazy-compilers.com | compilers which you thought are impossible |