From 58ccd337c0d825dedafec9db64cc02b19836ae12 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Tue, 21 Aug 2012 11:49:48 -0400 Subject: [PATCH] Don't hardcode a name into logging.getLogger --- rq/scripts/rqworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/scripts/rqworker.py b/rq/scripts/rqworker.py index a9f25d4..ea75c48 100755 --- a/rq/scripts/rqworker.py +++ b/rq/scripts/rqworker.py @@ -9,7 +9,7 @@ from redis.exceptions import ConnectionError from rq.scripts import add_standard_arguments from rq.scripts import setup_redis -logger = logging.getLogger("rq.worker") +logger = logging.getLogger(__name__) def setup_loghandlers(args):