add logger anf file action