You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/01/16 15:43:00 UTC

[jira] [Created] (CAMEL-18936) components - Add log4j-core so logging to logfile works

Claus Ibsen created CAMEL-18936:
-----------------------------------

             Summary: components - Add log4j-core so logging to logfile works
                 Key: CAMEL-18936
                 URL: https://issues.apache.org/jira/browse/CAMEL-18936
             Project: Camel
          Issue Type: Task
            Reporter: Claus Ibsen
             Fix For: 4.0


To make logging work we need to make sure we have these 2 test dependencies

{code}
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-core</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-slf4j2-impl</artifactId>
            <scope>test</scope>
        </dependency>
{code}

Most often we only have

{code}
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-slf4j2-impl</artifactId>
            <scope>test</scope>
        </dependency>
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)