Change default log file name and consider also all uppercase file name extensions.