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

Re: Copy STDOUT and STDERR to logfile and also display to screen

by kirbyk (Friar)
on Aug 10, 2005 at 18:05 UTC ( #482690=note: print w/ replies, xml ) Need Help??


in reply to Copy STDOUT and STDERR to logfile and also display to screen

In addition to the more generic advice, if you're on a unix system, most people just do 'tail -f filename'. The 'tail' command gives you the last lines of a file, and the -f argument 'streams' new input into the screen. You can specify multiple files and it will intersperse changes sensibly.

-- Kirby, WhitePages.com


Comment on Re: Copy STDOUT and STDERR to logfile and also display to screen

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2015-07-29 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls