My system is set to EDT in Linux, and I can confirm this in Python with datetime.now(). However the logger is outputting 4 hours ahead. What could be the cause of this?
EDIT: Logging config looks like this:
logging.basicConfig(level=logging.DEBUG)
lf = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
mylogger = logging.getLogger('mylogger')
mylogger .setLevel(logging.DEBUG)
lsh = logging.StreamHandler()
lsh.setLevel(logging.DEBUG)
lsh.setFormatter(lf)
mylogger.addHandler(lsh)