function to delete the logger configuration file