add log_dir to commit routine