From 69c779c90e10812d984a15ea326c0bf093041bd0 Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Sun, 26 Jul 2015 21:06:14 +0100 Subject: [PATCH] Altered logging --- api/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/views.py b/api/views.py index 9b8ba6e..5a70774 100755 --- a/api/views.py +++ b/api/views.py @@ -177,18 +177,18 @@ class PartialMixUploadView(views.APIView): logger.debug("Received input file") logger.debug("Storage is {0}".format(file_storage.base_location)) input_file = os.path.join(file_storage.base_location, cache_file) - logger.debug("Input file generating") # Chain the waveform & archive tasks together # Probably not the best place for them but will do for now # First argument to archive_mix_task is not specified as it is piped from create_waveform_task (create_waveform_task.s(input_file, uid) | archive_mix_task.s(filetype='mp3', uid=uid)).delay() + logger.debug("Waveform task started") except Exception, ex: - logger.error("Unable to connect to celery: {0}".format(ex.message)) + logger.error("Unable to connect to rabbitmq: {0}".format(ex.message)) response = \ - 'Unable to connect to waveform generation task, there may be a delay in getting your mix online' + 'Unable to connect to rabbitmq, there may be a delay in getting your mix online' file_dict = { 'response': response,