Files
notifications-api/gunicorn_config.py
Athanasios Voutsadakis f32a243e47 Change .info to .error
2017-09-25 16:24:35 +01:00

9 lines
224 B
Python

import sys
import traceback
def worker_abort(worker):
worker.log.info("worker received ABORT")
for threadId, stack in sys._current_frames().items():
worker.log.error(''.join(traceback.format_stack(stack)))