ldap: Shorten the name of logger of `sync_ldap_user_data` command.

This commit is contained in:
Harshit Bansal 2019-01-14 15:14:50 +00:00 committed by Tim Abbott
parent d2b7a24c26
commit 00ca98348a
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ from zerver.models import UserProfile
from zproject.backends import ZulipLDAPException, sync_user_from_ldap
## Setup ##
logger = logging.getLogger(__name__)
logger = logging.getLogger('zulip.sync_ldap_user_data')
log_to_file(logger, settings.LDAP_SYNC_LOG_PATH)
# Run this on a cronjob to pick up on name changes.