Add log file management