<commit_before>package de.gernd.simplemon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class Application {

    public static void main(String[] args) {

        ApplicationContext context = SpringApplication.run(Application.class, args);

        // print out all bean names
        System.out.println("Printing all bean names");

        String[] beanNames = context.getBeanDefinitionNames();
        for (String beanName : beanNames){
            System.out.println(beanName);
        }
    }
}<commit_msg>Only show bean names for log level DEBUG<commit_after>package de.gernd.simplemon;

import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class Application {

    public static void main(String[] args) {

        ApplicationContext context = SpringApplication.run(Application.class, args);
        Logger logger = Logger.getLogger("Application");

        // print out all bean names if log level debug is set
        if (logger.getEffectiveLevel().equals(Level.DEBUG)) {
            logger.debug("Printing all bean names");

            String[] beanNames = context.getBeanDefinitionNames();
            for (String beanName : beanNames) {
                logger.debug(beanName);
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.09136420525657071, 'fraction_numerical': 0.0012515644555694619, 'mean_word_length': 3.4293628808864267, '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': '7388688', 'n_tokens_mistral': 401, 'n_tokens_neox': 390, 'n_words': 98}