I recently had a problem where I tried to downgrade CasaOS but the internal storage was almost full. After some advice here I ran a storage check and found that the var/logs directory had a size of around 4.3GB. Because of that size, I've been wandering, 1) what logs do I keep and 2) how I prevent that buildup.
Eagerly waiting for your answers!
#4GB of logs
9 messages · Page 1 of 1 (latest)
@azure tundra Are any of the logs compressed?
Besides that, you can probably install/configure some logrotate programs to rotate/compress old logs.
@south river Some logs are indeed compressed.
About that type of program you suggest, are there any criteria about what I keep/delete?
Log2ram is the best fit
Logs are useful during troubleshooting, if you need to keep for audit purposes you should send them off
Sorry for a late response, I didn't get a notification. In CentOS there was a utility called logrotate, not sure what it is called in CasaOS but you could look for something like that.
you can install logrotate with apt install logrotate
No worries thanks for the response!
GG @azure tundra, you just advanced to level 8!