Adds extension to log files (.log)