Added a way to prevent the logger from throwing errors when log files do not exist