added --rev to --log_train option