corrected datefmt for logger to be datefmt=%m/%d/%Y %I:%M:%S %p