<commit_before>import logging
import logging.config

# we essentially need one all-purpose logger
# that goes into /var/log/plcapi.log

plcapi_logging_config = {
    'version' : 1,
# we may be imported by something else, like sfa, so do not do that:
#    'disable_existing_loggers' : True,
    'formatters': { <commit_msg>actually the default for disable_existing_loggers is True (can't believe it), so set to False instead of commenting out<commit_after>import logging
import logging.config

# we essentially need one all-purpose logger
# that goes into /var/log/plcapi.log

plcapi_logging_config = {
    'version' : 1,
# we may be imported by something else, like sfa, so:
    'disable_existing_loggers' : False,
    'formatters': { 
{'fraction_non_alphanumeric': 0.08571428571428572, 'fraction_numerical': 0.0027210884353741495, 'mean_word_length': 4.333333333333333, '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': '4349710', 'n_tokens_mistral': 231, 'n_tokens_neox': 227, 'n_words': 81}