Are you using log_dir still :? Can these two lines be deleted?