You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd love if there was a built-in logfiles and log-rotation feature of some kind, perhaps like lumberjack, perhaps with a few other nice features. I mostly just rely on journalctl and stdout, but in a variety of situations it would be nice to put logs straight to files. perhaps pretty logs in stdout and json logs to a file, etc.
Describe the solution you'd like
Rotate based on age, size, number of backups. Allow backup files to put timestamps before or after extension or at the front. Allow hyphens or underscores or dots to separate timestamps. Allow backups to go to a different dir than main log file. Allow compressing backup logs.
Describe alternatives you've considered
Lumberjack is a good alternative. Maybe there is a slog rotator that could be used with the slog adapter for charmbracelet/log
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'd love if there was a built-in logfiles and log-rotation feature of some kind, perhaps like lumberjack, perhaps with a few other nice features. I mostly just rely on journalctl and stdout, but in a variety of situations it would be nice to put logs straight to files. perhaps pretty logs in stdout and json logs to a file, etc.
Describe the solution you'd like
Rotate based on age, size, number of backups. Allow backup files to put timestamps before or after extension or at the front. Allow hyphens or underscores or dots to separate timestamps. Allow backups to go to a different dir than main log file. Allow compressing backup logs.
Describe alternatives you've considered
Lumberjack is a good alternative. Maybe there is a slog rotator that could be used with the slog adapter for charmbracelet/log
The text was updated successfully, but these errors were encountered: