Carlos E. R. wrote:
On 2016-03-03 20:07, jdd wrote:
Le 03/03/2016 19:58, Carlos E. R. a écrit :
What I want is delete some specific entries, by facility and level, and keep others for years and years.
or simply fork these entries to an other account and let the system roll the logs as usual
the usual logrotate did not remove anything and accumulated years of tgz
No, not true. Logrotate compresses the current log, and limits the compressed logs either by date or by number of files, removing the rest.
Uh, for e.g. /var/log/messages, the default config in logrotate does indeed not remove very much: compress dateext maxage 365 rotate 99 missingok notifempty size +4096k Probably a fairly sound default setting. -- Per Jessen, Zürich (2.5°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org