fmtter = logging.Formatter('%(asctime)s,%(msecs)05.1f (%(funcName)s) %(message)s', '%H:%M:%S')
rock_log = '%s/rock.log' % Build.path
hdlr = logging.FileHandler(rock_log, mode='w')
hdlr.setFormatter(fmtter)
hdlr.setLevel(logging.DEBUG)
rock_logger = logging.getLogger('rock')
rock_logger.addHandler(hdlr)
I have the above logger
rock_logger.info("hi")
doesnt print anything to the log BUT
rock_logger.error("hi")
DOES print to the log
I think it has something to do with level but i specifically set it to logging.DEBUG
Anyone know what I am doing wrong?