Re: Shepherd log rotation service

2024-08-12 Thread Ludovic Courtès
Hi Felix, Felix Lechner skribis: > On Sat, May 18 2024, Ludovic Courtès wrote: > >> I’ve just pushed a simple log rotation service for Shepherd: > > I have a patch removing rottlog from all Guix "services" that use the > Shepherd's :log-file feature, which works fine. Do I need to provide a > G

Re: Shepherd log rotation service

2024-07-21 Thread Development of GNU Guix and the GNU System distribution.
Hi Ludo', On Sat, May 18 2024, Ludovic Courtès wrote: > I’ve just pushed a simple log rotation service for Shepherd: I have a patch removing rottlog from all Guix "services" that use the Shepherd's :log-file feature, which works fine. Do I need to provide a Guix "service" for the log rotation?

Re: Shepherd log rotation service

2024-06-01 Thread Ludovic Courtès
Hi, Felix Lechner skribis: > I should will make an immediate dent in my 200 MB log file for Fcgiwrap, > but not for an Rspamd file of similar size. Also, my Nginx log file > with 1.3 GB will remain unaffected. Most significantly, it simplifies a > lot of code. Right. I think we should augmen

Re: Shepherd log rotation service

2024-06-01 Thread Ludovic Courtès
Hi Felix, Felix Lechner skribis: > Sorry to double up on my messages. I might further rename the somewhat > generic sounding %default-calendar-event to %default-rotation-event, or > perhaps even %default-rotation-calendar-event. Good idea, I’ll do that. > Also, the #:compression parameter doe

Re: Shepherd log rotation service

2024-05-23 Thread Development of GNU Guix and the GNU System distribution.
Hi Ludo' On Sat, May 18 2024, Ludovic Courtès wrote: > I’ve just pushed a simple log rotation service for Shepherd: Sorry to double up on my messages. I might further rename the somewhat generic sounding %default-calendar-event to %default-rotation-event, or perhaps even %default-rotation-calen

Re: Shepherd log rotation service

2024-05-22 Thread Development of GNU Guix and the GNU System distribution.
Hi Ludo', > I’ve just pushed a simple log rotation service for Shepherd: Wow, that's another cool addition! I am currently testing a patch that removes the rottlog service extension from all services that use #:log-file. Not all do. I should will make an immediate dent in my 200 MB log file

Shepherd log rotation service

2024-05-18 Thread Ludovic Courtès
Hello Guix! I’ve just pushed a simple log rotation service for Shepherd: https://git.savannah.gnu.org/cgit/shepherd.git/commit/?h=devel&id=0484726801c2b5c1b7deecb9a96054c2c510ac71 It rotates log files roughly the same way we’ve been doing since the 70’s, but there’s a couple of advantages com