Change output files to end with .log extension