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

camel-http - unnecessary logging in component

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Not A Bug
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: camel-http
    • Labels:
    • Estimated Complexity:
      Novice

      Description

      When sending request this is logged

      (INFO) o.a.camel.component.http.HttpComponent : Created ClientConnectionManager org.apache.http.impl.conn

      It should be set to DEBUG log level.

      Sample route:

           from("timer:foo?period=3600000")
                      .setHeader(HTTP_URI).constant("https://swapi.co/api/films")
                      .toD("${headers." + HTTP_URI + "}")
                      .split().jsonpath("$.results[*].episode_id").streaming()
                          .convertBodyTo(String.class)
                          .setHeader(HTTP_METHOD).constant(GET)
                          .setHeader(HTTP_URI).simple("https://swapi.co/api/films/${body}")
                          .toD("${headers." + HTTP_URI + "}")
                          .log("${body}")
                      .end();
      
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dbajic Djordje Bajic
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m