Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging: rollover log files #107

Open
pacien opened this issue Dec 8, 2020 · 0 comments
Open

Logging: rollover log files #107

pacien opened this issue Dec 8, 2020 · 0 comments

Comments

@pacien
Copy link
Owner

pacien commented Dec 8, 2020

We currently rely on the system for clearing all log files when their size becomes problematic. It would be nice to manage the amount of log history that we want to keep instead.

For the Android application itself, this is straightforward: we just need to swap Logback's FileAppender with RollingFileAppender and define some cap for the history length.

For the tinc daemon, this is more involved. We could make the daemon use a new log file each time it starts and delete the older ones at each start.

@pacien pacien self-assigned this Dec 8, 2020
@pacien pacien added the quality label Dec 8, 2020
@pacien pacien removed their assignment Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant