nickcave25 has asked for the
wisdom of the Perl Monks concerning the following question:
After making the transition to a brand new server running FreeBSD 4.4-RELEASE (VKERN) and Perl 5.6.0 (from an earlier FreeBSD/Peerl setup) my scripts run fine, but are causing www/logs/script.error_log to fill up very rapidly -- hence maxing out my disk quota (and causing me related headaches.)
Aside from deleting this file every day and/or actually fixing the subtle bugs in my scripts/programs that are causing the cascade of error messages (heheh)... What can I do to temporarily disable script.error_log from being written to?
I blew away all u/g/o file permissions but it still is getting appended to anyway. Is the -w switch on my #!/usr/bin/perl5 line causing this logging, or would it occur anyway, even without that declared? (I would prefer not to have to edit every single -w out of every script if possible). Please help! :)