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          | h.goe...@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



_______________________________________________
GNUnet-developers mailing list
GNUnet-developers@gnu.org
https://lists.gnu.org/mailman/listinfo/gnunet-developers

Reply via email to