pub fn append_log_file(log_path: &PathBuf, content: &str) -> bool
Append to a log file, creating its parent directory when needed.