#4GB of logs

9 messages · Page 1 of 1 (latest)

azure tundra
#

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!

south river
#

@azure tundra Are any of the logs compressed?

Besides that, you can probably install/configure some logrotate programs to rotate/compress old logs.

azure tundra
#

@south river Some logs are indeed compressed.

About that type of program you suggest, are there any criteria about what I keep/delete?

fervent mauve
#

Log2ram is the best fit

#

Logs are useful during troubleshooting, if you need to keep for audit purposes you should send them off

south river
fervent mauve
#

you can install logrotate with apt install logrotate

azure tundra
wraith badgeBOT
#

GG @azure tundra, you just advanced to level 8!