Specify full path to casa log, and don't use pipes.