Don't hardcode a name into logging.getLogger

main
Donald Stufft 13 years ago
parent 66235f7ad0
commit 58ccd337c0

@ -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):

Loading…
Cancel
Save