<commit_before>/**
 * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.gravitee.management.standalone;

import io.gravitee.management.standalone.spring.StandaloneConfiguration;
import io.gravitee.node.container.spring.SpringBasedContainer;
import org.slf4j.bridge.SLF4JBridgeHandler;

import java.util.List;

/**
 * @author <NAME> (david.brassely at graviteesource.com)
 * @author GraviteeSource Team
 */
public class ManagementContainer extends SpringBasedContainer {

    @Override
    protected List<Class<?>> annotatedClasses() {
        List<Class<?>> classes = super.annotatedClasses();
        classes.add(StandaloneConfiguration.class);
        return classes;
    }

    @Override
    protected String name() {
        return "Gravitee.io - Management API";
    }

    public static void main(String[] args) throws Exception {
        // If you want to run Gravitee standalone from your IDE, please do not forget
        // to specify -Dgravitee.home=/path/to/gravitee/home in order to make it works.
        ManagementContainer container = new ManagementContainer();

        // Move all java util logging logs to SLF4j
        SLF4JBridgeHandler.removeHandlersForRootLogger();
        SLF4JBridgeHandler.install();

        container.start();
    }
}<commit_msg>fix(logging): Plug Java Util Logging (JUL) to SLF4J<commit_after>/**
 * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.gravitee.management.standalone;

import io.gravitee.management.standalone.spring.StandaloneConfiguration;
import io.gravitee.node.container.spring.SpringBasedContainer;
import org.slf4j.bridge.SLF4JBridgeHandler;

import java.util.List;

/**
 * @author <NAME> (david.brassely at graviteesource.com)
 * @author GraviteeSource Team
 */
public class ManagementContainer extends SpringBasedContainer {

    @Override
    protected List<Class<?>> annotatedClasses() {
        List<Class<?>> classes = super.annotatedClasses();
        classes.add(StandaloneConfiguration.class);
        return classes;
    }

    @Override
    protected String name() {
        return "Gravitee.io - Management API";
    }

    @Override
    protected void initializeLogging() {
        super.initializeLogging();
        
        // Move all java util logging logs to SLF4j
        SLF4JBridgeHandler.removeHandlersForRootLogger();
        SLF4JBridgeHandler.install();
    }

    public static void main(String[] args) throws Exception {
        // If you want to run Gravitee standalone from your IDE, please do not forget
        // to specify -Dgravitee.home=/path/to/gravitee/home in order to make it works.
        ManagementContainer container = new ManagementContainer();

        container.start();
    }
}
{'fraction_non_alphanumeric': 0.08961408961408962, 'fraction_numerical': 0.006993006993006993, 'mean_word_length': 3.403648802736602, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5942351', 'n_tokens_mistral': 1069, 'n_tokens_neox': 1026, 'n_words': 356}