[loggers]
keys=root,pywarnings,asyncio,gunicorn,aiohttp,api_hour,spyrest
[logger_spyrest]
level=DEBUG
handlers=console,syslog
qualname=spyrest
propagate=0
LOG = logging.getLogger('spyrest')
LOG = logging.getLogger(__name__)
logging.config.fileConfig('conf/api_hour/logging.ini')
--
You received this message because you are subscribed to the Google Groups "API-Hour" group.
To unsubscribe from this group and stop receiving emails from it, send an email to api-hour+u...@googlegroups.com.
To post to this group, send email to api-...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/api-hour/c1f2913f-f725-4889-a896-291b1dbf5dd7%40googlegroups.com.
api_hour -c conf/api_hour/gunicorn_conf.py --config_dir conf spyrest:Container
import multiprocessing
workers = multiprocessing.cpu_count() * 2 + 1
keepalive = 15
pidfile = '/run/lock/spyrest.pid'
backlog = 10240000
bind = "0.0.0.0:8001"
--
You received this message because you are subscribed to the Google Groups "API-Hour" group.
To unsubscribe from this group and stop receiving emails from it, send an email to api-hour+u...@googlegroups.com.
To post to this group, send email to api-...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/api-hour/3a05e605-5b75-46ae-8c5f-423768d6ed3b%40googlegroups.com.