logic error for nologs option