I notice you havent received an answer. If it makes you feel any better, I saw a question on VMWare communities from back in 2005 asking the same question and that hasnt been answered yet either :)
If you figured it out, you would be hero.
Last Wiki Answer Submitted: August 30, 2009 1:34 pm by Nnf974,235 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
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.
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…
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
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…
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.
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
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
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.