cozy-labs / cozy-desktop

File Synchronisation for Cozy on Desktop and Laptop
https://cozy-labs.github.io/cozy-desktop/
GNU Affero General Public License v3.0
99 stars 45 forks source link

Make logs more compact #1649

Open y-lohse opened 5 years ago

y-lohse commented 5 years ago

The size of the log files in my ~/.cozy-desktop grew up to 2.2 Go in 8 days (after clean install). Since this is quite big, I would suggest to find an alternative representation of the logs instead of plain json (for example adding a gz compression?).

I am using the version 3.13.4 on Linux (Fedora 29).

from @melsophos originally posted here : https://github.com/cozy/cozy-drive/issues/1750

taratatach commented 5 years ago

Hi @melsophos, thank you for reaching out.

This is a known issue that we want to tackle. We just haven't had the bandwidth to it so far. Your suggestion of gzipping the log files is a good one and a short investigation led me to an npm package that offers a gzipped, rotating file logging option.

We'll keep you posted on the evolution on this matter.

Have a nice day, Erwan