Incorporated django logging for asynchronous tasks as well