Re: real time output from log file?
| From: | Jochem Maas | Date: | Mon, 17 Apr 2006 23:51:54 +0000 |
| Subject: | Re: real time output from log file? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234147@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
On Mon, April 17, 2006 6:19 pm, Jochem Maas wrote:I dare you to ask on php-internals ;-)Actually, now that I think about it... Maybe we need a new directive in php.ini :-)But they had guys at an old job that did this, after I turned OFF display_output on their production server... [shudder]I guess Richard's had another long day ... display_output? maybe display_errors? or was the stuff those guys produced so bad that a blank page was preferable? ;-)
;Turns off all output to browser ;Useful when somebody realizes how bad their software really is ;Or when they get sued for same ;display_output = On :-) :-) :-) The REALLY scary thing was their application was all about people's medical records and insurance -- so they were "HIPPA compliant". Don't even ask me how display_errors on production boxes seemed OK with "HIPPA compliant" software in ANYBODY's brain, cuz I just don't get it... PS In retrospect, I turned off display_errors on all servers, production and dev, because they had no way to detect production versus dev in the first place, in a meaningful way to have them behave differently. I think I fixed that problem next, and would have turned display_errors back on, but they already had their "tail.php" script, and it avoided a lot of questions from programmers too naive to do "View Source"the only thing that annoys me is that these numpties probably earn twice what I do, pay a third the price for their cars and drive from one end of the american continent to the other for the same price as I pay in petrol (gas) to sit in traffic for 5 minutes. (teach me to be european I guess ;-) and boy do I need (read want) a new car :-P
I also turned on E_NOTICE in the same time frame, so they had a LOT of bugs to fix :-)thanks for another great story from the trenches Richard :-)