Now it creates the log files if they don't exist