> -----Original Message----- [] > > > > However, is there a way of turning off all the compilation > messages when I > > start Apache? I need the output to be as minimal and user (customer) > > friendly as possible. Preferably no output at all, other > than the normal > > Apache messages (if any). > > > > Not really, make sure Debug => 0 of course, and you can try to > redirect STDERR output like so: > > open(STDERR, '>>/dev/null'); > ... loader ... > close STDERR; >
Excellent. That does what I need. It's really just so that we don't go annoying customers with a whole bunch of warnings. The worst is the pages and pages of messages to the display when running apachctl. Hmm, I might redirect stderr to a file so that at least it's logged somewhere. It's fine if it goes elsewhere, just that I can see site admins checking the error log and questioning all these errors/warnings. > One more thing, make sure to run your application in Debug -3 setting > after preload to make sure that you really preloaded correctly, and > that those scripts you thought got precompiled really did. There > are a bunch of settings that you need to be exactly the same between > your Loader() call & your normal settings for the precompiling of > scripts to work. I assume we don't want to run with -3 in production though? Or is this just for the preloading so won't affect run-time performance (so long as my normal setting of Debug is not between -3 and -1)? Thanks, Tim. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
