enhance log messages format
This commit is contained in:
parent
b29a3f223f
commit
4ef9fd43d3
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,8 @@ class BaseApplication(object):
|
|||
CONFDIR = os.path.join(os.path.expanduser('~'), '.weboob')
|
||||
|
||||
def __init__(self):
|
||||
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
|
||||
log_format = '%(asctime)s:%(levelname)s:%(filename)s:%(lineno)d %(message)s'
|
||||
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG, format = log_format)
|
||||
self.weboob = Weboob(self.APPNAME)
|
||||
self.config = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue