Removed duplicate log_dir creation