<commit_before>"""Document formatting specifics for parsing and working with documents."""

import copy
import markdown
from markdown.extensions import tables
from grow.common import markdown_extensions
from grow.common import structures
from grow.common import utils
from grow.documents import document_front_matter as doc_front_matter


BOUNDARY_SEPARATOR = '---'


class Error(Exception):
    pass


class BadFormatError(Error, ValueError):
    pass
<commit_msg>Updating markdown logging level.<commit_after>"""Document formatting specifics for parsing and working with documents."""

import copy
import logging
import markdown
from markdown.extensions import tables
from grow.common import markdown_extensions
from grow.common import structures
from grow.common import utils
from grow.documents import document_front_matter as doc_front_matter


# Set markdown logging level to info.
logging.getLogger('MARKDOWN').setLevel(logging.INFO)


BOUNDARY_SEPARATOR = '---'


class Error(Exception):
    pass


class BadFormatError(Error, ValueError):
    pass

{'fraction_non_alphanumeric': 0.06433301797540208, 'fraction_numerical': 0.0, 'mean_word_length': 5.654088050314465, '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': '5429135', 'n_tokens_mistral': 283, 'n_tokens_neox': 267, 'n_words': 98}