logging, obeying DRY-RUN variable