(fix line length)
This commit is contained in:
parent
05a9955513
commit
eb9a25f8e5
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ def generate():
|
||||||
|
|
||||||
# set up logging
|
# set up logging
|
||||||
ch = logging.StreamHandler(sys.stdout)
|
ch = logging.StreamHandler(sys.stdout)
|
||||||
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
formatter = logging.Formatter('%(asctime)s - %(name)s - '
|
||||||
|
'%(levelname)s - %(message)s')
|
||||||
ch.setFormatter(formatter)
|
ch.setFormatter(formatter)
|
||||||
logging.getLogger('blogtopoid').addHandler(ch)
|
logging.getLogger('blogtopoid').addHandler(ch)
|
||||||
logging.getLogger('blogtopoid').setLevel(logging.DEBUG)
|
logging.getLogger('blogtopoid').setLevel(logging.DEBUG)
|
||||||
|
|
Reference in a new issue