Enable logging and make the file resource definition using the new log syntax