Comment 5 for bug 435137

Revision history for this message
Guillermo Gonzalez (verterok) wrote :

Ok, let's talk a bit about this :)

> We need to:
> - lower the log level for syncdaemon
So should we move the log level to INFO?
btw, this implies that we aren't going to be able to debug what's going on.

> - make sure we compress old log files
This can be done, I already wrote code that do this using python logging framework for the server side, so doing this in the client is easy

> - make sure we delete older log files
We are currently rotating old log files, on a daily basis, if this isn't working there is a bug in the syncdaemon logger module.
We can change this to rotate the log files based on it's size (also supported by the logging framework)

>
> configuring logrotate and syncdaemon with the correct default values should be enough.
logrotate isn't an option, as the syncdaemon is a per user process, and logrotate only have a system wide config. so we will need one logrotate config for eahc user...