Ensure log is initialized with an absolute path.