Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18936

components - Add log4j-core so logging to logfile works

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0-M1, 4.0.0
    • None
    • None
    • Unknown

    Description

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

              <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>
      

      Most often we only have

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

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: