use logging.getLogger(__name__)
This commit is contained in:
parent
8756e51090
commit
d497e89b2b
36 changed files with 47 additions and 39 deletions
|
|
@ -16,7 +16,7 @@ from threading import Thread
|
|||
from functools import wraps
|
||||
|
||||
import logging
|
||||
logger = logging.getLogger('oxtornado')
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def json_response(data=None, status=200, text='ok'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue