Tag Archives: log

Quickly find large vmware.log files

Because one of our VMs had an error while taking a snapshot, i wanted to have a look inside vmware.log. Recognized that it was more than three GB in size. That’s not normal at all. In vSphere 5.1 VMware changed the way it rotates the vmware.log file. The setting “log.rotateSize” doesn’t exists anymore. It now uses a bandwith/rate limit, which … Continue reading

Posted in VMware | Tagged , , , , | Leave a comment

Log mails sent by PHP mail() function

PHP 5.3 introduced a new feature many administrators have waited for. Now it’s possible to log mails sent by the mail() function of PHP. Until 5.3 it was not that easy to find anĀ insecureĀ form/script which sends out spam messages. But now, finally, after around two years after the patch was submitted, you can add this to your php.ini: The first … Continue reading

Posted in Linux, PHP, Quick tip | Tagged , , , | 2 Comments