<commit_before>'''
Created on Jan 16, 2012

@package: Newscoop
@copyright: 2011 Sourcefabric o.p.s.
@license: http://www.gnu.org/licenses/gpl-3.0.txt
@author: <NAME>

Provides the application logging setup.
'''

import logging
logging.basicConfig(format='%(asctime)s %(levelname)s (%(threadName)s %(module)s.%(funcName)s %(lineno)d): %(message)s')

logging.getLogger('sqlalchemy').setLevel(logging.WARN)
#logging.getLogger('sqlalchemy.engine').setLevel(logging.WARN)
#logging.getLogger('sqlalchemy.dialects').setLevel(logging.WARN)
#logging.getLogger('sqlalchemy.pool').setLevel(logging.WARN)
#logging.getLogger('sqlalchemy.orm').setLevel(logging.WARN)

logging.getLogger('__plugin__').setLevel(logging.WARN)

logging.getLogger('ally').setLevel(logging.WARN)
#logging.getLogger('ally.container').setLevel(logging.WARN)
logging.getLogger('ally.container._impl.support_setup').setLevel(logging.DEBUG)
#logging.getLogger('ally.support.sqlalchemy.session').setLevel(logging.DEBUG)

logging.getLogger('newscoop').setLevel(logging.WARN)

logging.getLogger('print_desk').setLevel(logging.WARN)
<commit_msg>NR-31 : Fetch composition for the REST requests Finalized the fetcher, still need to add more documentation.<commit_after>'''
Created on Jan 16, 2012

@package: Newscoop
@copyright: 2011 Sourcefabric o.p.s.
@license: http://www.gnu.org/licenses/gpl-3.0.txt
@author: <NAME>

Provides the application logging setup.
'''

import logging
logging.basicConfig(format='%(asctime)s %(levelname)s (%(threadName)s %(module)s.%(funcName)s %(lineno)d): %(message)s')

logging.getLogger('sqlalchemy').setLevel(logging.WARN)
#logging.getLogger('sqlalchemy.engine').setLevel(logging.WARN)
#logging.getLogger('sqlalchemy.dialects').setLevel(logging.WARN)
#logging.getLogger('sqlalchemy.pool').setLevel(logging.WARN)
#logging.getLogger('sqlalchemy.orm').setLevel(logging.WARN)

logging.getLogger('__plugin__').setLevel(logging.WARN)

logging.getLogger('ally').setLevel(logging.WARN)
#logging.getLogger('ally.container').setLevel(logging.WARN)
logging.getLogger('ally.container._impl.support_setup').setLevel(logging.DEBUG)
#logging.getLogger('ally.support.sqlalchemy.session').setLevel(logging.DEBUG)

logging.getLogger('newscoop').setLevel(logging.WARN)

logging.getLogger('print_desk').setLevel(logging.WARN)

logging.getLogger('ally.core.impl.processor.encoder_xml').setLevel(logging.WARN)
{'fraction_non_alphanumeric': 0.16722830665543387, 'fraction_numerical': 0.010951979780960405, 'mean_word_length': 8.46215139442231, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 1}, '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': '2958594', 'n_tokens_mistral': 826, 'n_tokens_neox': 783, 'n_words': 98}