← back to backlog: scriba

Add optional rolling file facilities

status

todo

type

task

descriptionIn production, logging to a single file indefinitely will eventually exhaust disk space. Improvement: Implement a scriba-file-logger that accepts configuration for file rotation. Mechanics: Support size-based rotation (e.g., #:max-size-mb 10) and time-based rotation (e.g., #:rotate-daily #t). You can manage file descriptors under the hood, seamlessly closing the old port, renaming the file (e.g., test.log to test.1.log), and opening a fresh one without stopping the application.scriba-8