civodul pushed a change to branch devel in repository shepherd. from a43ae34 guix: Add system test for the built-in ‘system-log’ service. new 8883bee logger: Change ‘file’ to ‘files’ (plural). new eb3c8ad system-log: Turn dispatcher into a proper logger. new 0def345 logger: Factorize ‘rotate-and-reopen-log-file’. new ca4976a timer: ‘trigger’ action prints a hint when passed #f. new 3ae8335 tests: Ensure ‘log-rotation’ is not trigger automatically. new 8c1c744 system-log: Implement log rotation. new de31c30 system-log: Use ‘log-line’ from (shepherd logger). new 1f5fdf7 system-log: Keep recent messages in a ring buffer.
The 8 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: doc/shepherd.texi | 12 +- modules/shepherd/logger.scm | 121 +++++++++++-------- modules/shepherd/scripts/herd.scm | 18 +-- modules/shepherd/service.scm | 12 +- modules/shepherd/service/log-rotation.scm | 32 +++-- modules/shepherd/service/system-log.scm | 189 ++++++++++++++++++------------ modules/shepherd/service/timer.scm | 11 +- tests/services/log-rotation.sh | 14 ++- tests/services/system-log.sh | 67 ++++++++++- tests/status-sexp.sh | 8 +- 10 files changed, 318 insertions(+), 166 deletions(-)