1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Remove default request logging

This commit is contained in:
Guillaume Ayoub 2011-05-07 12:18:32 +02:00
parent f39d90caa9
commit e87ffeadb1
2 changed files with 8 additions and 1 deletions

View file

@ -103,7 +103,8 @@ for host in options.hosts.split(','):
address, port = host.strip().rsplit(':', 1)
address, port = address.strip('[] '), int(port)
servers.append(
make_server(address, port, radicale.Application(), server_class))
make_server(address, port, radicale.Application(),
server_class, radicale.RequestHandler))
# SIGTERM and SIGINT (aka KeyboardInterrupt) should just mark this for shutdown
signal.signal(signal.SIGTERM, lambda *_: shutdown_program.set())