Friday, September 7, 2007

Pouring through logs

Been doing an inordinate amount of tracing and debugging lately. Our ERP system dumps a lot of junk to the logs. The following command is my friend.


tail -f trace.log |tee $HOME/mylog.log


I like to be able to follow the file as lines are added and also like to send the output to a log file that I can open in an editor so I can so more regex type searches.

No comments: