Merge pull request #20 from Koed00/dev

Tests now run with logging level debug
This commit is contained in:
Ilan Steemers
2015-07-17 05:28:59 -07:00
2 changed files with 3 additions and 2 deletions

View File

@@ -313,7 +313,7 @@ def pusher(task_queue, e, list_key=Conf.Q_LIST, r=redis_client):
if task:
task = task[1]
task_queue.put(task)
logger.debug(_('queueing {}').format(task))
logger.debug(_('queueing from {}').format(list_key))
if e.is_set():
break
logger.info(_("{} stopped pushing tasks").format(current_process().name))

View File

@@ -104,4 +104,5 @@ STATIC_URL = '/static/'
# Django Q specific
Q_CLUSTER = {'name': 'django_q_test',
'cpu_affinity': 1,
'testing': True}
'testing': True,
'log_level': 'DEBUG'}