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

View File

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