Sonotsky
660 pts. | Jul 13 2009 1:39PM GMT
Why would you want to disable logs? Most, if not all logs are there to help you diagnose a problem or help perform auditing of events.
If you’re looking to disable it because they’re continually chewing up space, then you either have a serious problem that needs investigating, or you have a very busy host and should look at ways of reducing the logging level vs. disabling outright.
Petkoa
1005 pts. | Jul 14 2009 5:00PM GMT
Hi,
Sonotsky is right, logs are there to help you. They are invaluable, especially if you need them once an year (or even in two).
BTW, what happened to logrotate in RHEL - I didn’t use Red Hat for a while, but it had this from, I think, it’s very beginning? Very configurable, on per specific log basis…
By,
Petko
Sonotsky
660 pts. | Jul 15 2009 1:12PM GMT
logrotate is still available in the RHEL distro, Petkoa, at least as far as the current update levels (3u9, 4u8, 5u3). I don’t recall, off the top of my head, if I had to manually select it during installation, but it’s on the media. Works great out of the box, and works even better when you have the time to configure it ![]()
Petkoa
1005 pts. | Jul 15 2009 3:28PM GMT
I supposed this - RH always had been sane enough to not discontinue logrotate.
So, the “asking guy” has RHEL - he has also logrotate, he has logrotate - no need to disable logs and with some research about the configuration there are no risks of filling up the disk with logs… Uh, logrotate or not, on a server I’d put /var/log/ on a separate partition…
By,
Petko A.






