improve log-message when logfile-path-pattern is incorrect.