Skip Montanaro wrote: > Short of going into some Formatter creation exercise (which seems like > overkill to me, and somewhat obscure), is there some way to easily > change the format of the logging.LogRecord's asctime attribute? > > Thx, > > Skip
Like >>> import logging >>> logging.basicConfig(format="%(asctime)s" + logging.BASIC_FORMAT, datefmt="***%A***") >>> logging.warn("foo") ***Wednesday***WARNING:root:foo ? -- https://mail.python.org/mailman/listinfo/python-list