def test_log_info(self):
    'Test that INFO log entry does not go to the audit log.'
    logging.setup(self.cfg_path)
    log = logging.getLogger(__name__)
    msg = uuid.uuid4().hex
    log.info(msg)
    info_log_entries = open(self.info_log_path).read()
    self.assertIn(msg, info_log_entries)
    audit_log_entries = open(self.audit_log_path).read()
    self.assertNotIn(msg, audit_log_entries)
Test that INFO log entry does not go to the audit log.
def test_log_info(self):
    
    logging.setup(self.cfg_path)
    log = logging.getLogger(__name__)
    msg = uuid.uuid4().hex
    log.info(msg)
    info_log_entries = open(self.info_log_path).read()
    self.assertIn(msg, info_log_entries)
    audit_log_entries = open(self.audit_log_path).read()
    self.assertNotIn(msg, audit_log_entries)