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:55:00 UTC

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

    [ https://issues.apache.org/jira/browse/CAMEL-18936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677448#comment-17677448 ] 

Claus Ibsen commented on CAMEL-18936:
-------------------------------------

We should also upgrade the maven archetypes as they setup logging also

> 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
>            Priority: Major
>             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)