<commit_before># -*- encoding: utf-8 -*-
from __future__ import print_function, unicode_literals, division, absolute_import
import logging


def init_logging(level=logging.DEBUG, log_to_file=False, logsize=1024, logcount=5):
    formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
<commit_msg>Fixed logging imports when file is required (#74)<commit_after># -*- encoding: utf-8 -*-
from __future__ import print_function, unicode_literals, division, absolute_import
import logging
import logging.handlers

def init_logging(level=logging.DEBUG, log_to_file=False, logsize=1024, logcount=5):
    formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')

{'fraction_non_alphanumeric': 0.13744740532959326, 'fraction_numerical': 0.019635343618513323, 'mean_word_length': 6.285714285714286, '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': '6578433', 'n_tokens_mistral': 241, 'n_tokens_neox': 224, 'n_words': 53}