<commit_before>import logging
import sys
import traceback

from datetime import timedelta
from django.conf import settings
from django.utils import timezone
from redis_metrics import metric
import django_rq
import waffle

from utils.slack import post_private_message
from utils.user_utils import to_localtime


logger = logging.getLogger("loggly_logs")


def _log_slack(msg, username):
    SLACK_USERS = {
        # Local account: slack username
        'bkmontgomery': 'bkmontgomery',
        'ringram': 'ringram',
    }
    if SLACK_USERS.get(username):<commit_msg>disabling slack notifications for now<commit_after>import logging
import sys
import traceback

from datetime import timedelta
from django.conf import settings
from django.utils import timezone
from redis_metrics import metric
import django_rq
import waffle

from utils.slack import post_private_message
from utils.user_utils import to_localtime


logger = logging.getLogger("loggly_logs")


def _log_slack(msg, username):
    SLACK_USERS = {
        # Local account: slack username
        'bkmontgomery': 'bkmontgomery',
        # 'ringram': 'ringram',
    }
    if SLACK_USERS.get(username):
{'fraction_non_alphanumeric': 0.06637931034482758, 'fraction_numerical': 0.0, 'mean_word_length': 4.5285714285714285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3000545', 'n_tokens_mistral': 349, 'n_tokens_neox': 342, 'n_words': 103}