forked from github.com/pypiserver
FIX loggin regression of format
builtin!
This commit is contained in:
parent
3d172ae546
commit
db24b882f3
@ -14,7 +14,7 @@ log = logging.getLogger('pypiserver.main')
|
||||
|
||||
|
||||
def init_logging(level=None, frmt=None, filename=None):
|
||||
logging.basicConfig(level=level, format=format)
|
||||
logging.basicConfig(level=level, format=frmt)
|
||||
rlog = logging.getLogger()
|
||||
rlog.setLevel(level)
|
||||
if filename:
|
||||
|
Loading…
Reference in New Issue
Block a user