Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How can I Disable script.error_log ?

by Malach (Scribe)
on Feb 18, 2002 at 21:46 UTC ( [id://146260]=note: print w/replies, xml ) Need Help??


in reply to How can I Disable script.error_log ?

-w is there for a reason... to generate warnings about possible problems.

If you don't care about the warnings, then remove it.

If you do care about the warnings, then fix the script.

Personally, I "use warnings;" and "use diagnostics;" during development. I'm of the opinion that once the scripts are completed, these will produce no output, so there's no harm in leaving them in place (in case something occurs that I haven't considered). Then, I'll get my warnings and diagnostics, and should be able to pick up the error faster. In once instance, I couldn't figure out how to avoid the warning before putting the script in production, so I commented out use warnings; (which I later went back and fixed).

If you have control over the apache config you should be able to alter the logging... but I'd guess you're on a shared hosting service of some sort, so that's probably not an option.

Malach
So, this baby seal walks into a club.....

  • Comment on Re: How can I Disable script.error_log ?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://146260]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2025-06-13 03:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.