<commit_before>imports:
    - { resource: config.yml }

framework:
    validation:
        cache: validator.mapping.cache.doctrine.apc
    serializer:
        cache: serializer.mapping.cache.apc

doctrine:
    orm:
        metadata_cache_driver: apcu
        result_cache_driver:   apcu
        query_cache_driver:    apcu

monolog:
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            handler:      nested
        nested:
            path:  "%kernel.logs_dir%/%kernel.environment%.log"
            type:  stream
            level: debug
        console:
            type:  console
<commit_msg>add rotating file log config in prod environtment<commit_after>imports:
    - { resource: config.yml }

framework:
    validation:
        cache: validator.mapping.cache.doctrine.apc
    serializer:
        cache: serializer.mapping.cache.apc

doctrine:
    orm:
        metadata_cache_driver: apcu
        result_cache_driver:   apcu
        query_cache_driver:    apcu

monolog:
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            handler:      nested
        nested:
            path:      "%kernel.logs_dir%/%kernel.environment%.log"
            type:      rotating_file
            level:     debug
            max_files: 10
        console:
            type:  console

{'fraction_non_alphanumeric': 0.06973400431344356, 'fraction_numerical': 0.0014378145219266715, 'mean_word_length': 1.6564885496183206, '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': '2456713', 'n_tokens_mistral': 399, 'n_tokens_neox': 395, 'n_words': 83}