If no path is given we do not log anything.