<commit_before>[app]
extends = base.ini
sqlalchemy.url = sqlite://
sqlalchemy.url.database = site.db
beaker.session.data_dir = /home/deploy/apps/tangled.website/data/sessions
beaker.session.key = lasjdlaksjdjksadjlasd
docs_dir = /home/deploy/apps/tangled.website/public/docs

[loggers]
keys = root, exc, tangled

[handlers]
keys = file, exc

[formatters]
keys = generic, exc

[logger_root]
level = WARN
handlers = file

[logger_tangled]
level = INFO
handlers =
qualname = tangled

[handler_file]
class = handlers.RotatingFileHandler
args = ('/home/deploy/var/log/apps/tangled.website.log', 2**20, 5)
level = NOTSET
formatter = generic

[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s

# Exc Logger
[logger_exc]
level = ERROR
handlers = exc
qualname = exc
propagate = 0

[handler_exc]
class = tangled.web.exc.SMTPHandler
args = (('localhost', 25), '<EMAIL>', ['<EMAIL>'], '[tangled.website] ERROR')
level = ERROR
formatter = exc

[formatter_exc]
format = %(asctime)s %(message)s<commit_msg>Update email used for reporting errors<commit_after>[app]
extends = base.ini
sqlalchemy.url = sqlite://
sqlalchemy.url.database = site.db
beaker.session.data_dir = /home/deploy/apps/tangled.website/data/sessions
beaker.session.key = lasjdlaksjdjksadjlasd
docs_dir = /home/deploy/apps/tangled.website/public/docs

[loggers]
keys = root, exc, tangled

[handlers]
keys = file, exc

[formatters]
keys = generic, exc

[logger_root]
level = WARN
handlers = file

[logger_tangled]
level = INFO
handlers =
qualname = tangled

[handler_file]
class = handlers.RotatingFileHandler
args = ('/home/deploy/var/log/apps/tangled.website.log', 2**20, 5)
level = NOTSET
formatter = generic

[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s

# Exc Logger
[logger_exc]
level = ERROR
handlers = exc
qualname = exc
propagate = 0

[handler_exc]
class = tangled.web.exc.SMTPHandler
args = (('localhost', 25), '<EMAIL>', ['<EMAIL>'], '[tangled.website] ERROR')
level = ERROR
formatter = exc

[formatter_exc]
format = %(asctime)s %(message)s
{'fraction_non_alphanumeric': 0.14582327378078222, 'fraction_numerical': 0.008691453404152583, 'mean_word_length': 5.317073170731708, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2303949', 'n_tokens_mistral': 810, 'n_tokens_neox': 755, 'n_words': 170}