Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: (jeffa) Re: Printing the last few lines of the Error log

by tomhukins (Curate)
on Nov 20, 2001 at 15:09 UTC ( #126497=note: print w/replies, xml ) Need Help??


in reply to (jeffa) Re: Printing the last few lines of the Error log
in thread Printing the last few lines of the Error log

I agree that running tail on error logs is a useful development technique, but I would never do this on a live server.

tail doesn't check its output, so a malicious visitor to your Web site could send dangerous escape codes to your terminal. xterm, for example, has various features/vulnerabilities that are based on escape codes. This assumes that someone wants to attack your Web server and either knows or guesses that you are running tail on your error log, but it's always worth protecting against untrusted data on the Internet.

  • Comment on Re: (jeffa) Re: Printing the last few lines of the Error log

Replies are listed 'Best First'.
Re: (tomhukins) Printing the last few lines of the Error log
by dave_aiello (Pilgrim) on Nov 20, 2001 at 19:33 UTC
    I just want to make the observation that this warning about the side effects of tail reflects the amazing depth and quality of answers that I have come to expect from PerlMonks. I'm impressed that someone would have provided such an insightful response to a basic question.

    Dave Aiello
    Chatham Township Data Corporation

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2022-09-26 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (117 votes). Check out past polls.

    Notices?