http://www.perlmonks.org?node_id=482690


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