comment improvements
This commit is contained in:
parent
d69b24e3b5
commit
c9642f1a2b
@ -218,13 +218,11 @@ def add_handler_socket(logger: logging.Logger, level: int = logging.DEBUG, host:
|
|||||||
def app_logging_config():
|
def app_logging_config():
|
||||||
"""You are able to configure logging by a config file including these line:
|
"""You are able to configure logging by a config file including these line:
|
||||||
|
|
||||||
import logging
|
|
||||||
|
|
||||||
|
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
#
|
#
|
||||||
# Logging
|
# Logging
|
||||||
#
|
#
|
||||||
|
APP_NAME = "<YOUR_APP_NAME>"
|
||||||
LOG_HOSTNAME = "loggy" # When DEBUG is True
|
LOG_HOSTNAME = "loggy" # When DEBUG is True
|
||||||
"""
|
"""
|
||||||
logger = logging.getLogger(ROOT_LOGGER_NAME)
|
logger = logging.getLogger(ROOT_LOGGER_NAME)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user