mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-08-31 05:49:56 +00:00
some improvements
* handle exceptions in multiprocessing * readme update * safe logger handler implementation (uses either stderr or rotatingfiles) * user UID check
This commit is contained in:
@ -63,7 +63,8 @@ def run_server(application: web.Application, architecture: str) -> None:
|
||||
host = application['config'].get(section, 'host')
|
||||
port = application['config'].getint(section, 'port')
|
||||
|
||||
web.run_app(application, host=host, port=port, handle_signals=False)
|
||||
web.run_app(application, host=host, port=port, handle_signals=False,
|
||||
access_log=logging.getLogger('http'))
|
||||
|
||||
|
||||
def setup_service(architecture: str, config: Configuration) -> web.Application:
|
||||
|
Reference in New Issue
Block a user