Fix UnboundLocalError in celerybeat logging when using logging setup signals.
Fix UnboundLocalError in celerybeat logging when using logging setup signals.

ask/celery,cbrepo/celery,frac/celery,ask/celery,cbrepo/celery,WoLpH/celery,WoLpH/celery,frac/celery