On 2016-09-19 14:40, Dutch Ingraham wrote:
On Mon, Sep 19, 2016 at 02:12:18PM +0200, Richard Brown wrote:
My question for the OP though is on what kind of system is a 2GB log a problem?
I'm a little confused. My question for you is: on what kind of system is 2 GIGAbytes of logs necessary or desirable?
For example, on my daily driver, a Fedora system that uses the journal, and on which I have taken no explicit action to limit the size of any log, my entire /var/log directory amounts to 241 megabytes. On a 3 year-old Gentoo system without the journal, and on which I have taken no action to limit the size of any file, the entire /var/log directory is 79 megabytes.
I assume that those distributions have "logrotate" enabled, same as openSUSE does, and for many years. That's why traditional syslog size is limited. The mechanism has been well adjusted over the years. The defaults for the journal, though, allow it to grow big in some circumstances. There are adjustments, but different, and IMO, less grained. They need years for the adjustments to develop properly :-) -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)