Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E9B919C2C for ; Sun, 10 Apr 2016 14:26:20 +0000 (UTC) Received: (qmail 19814 invoked by uid 500); 10 Apr 2016 14:26:19 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 19755 invoked by uid 500); 10 Apr 2016 14:26:19 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 19742 invoked by uid 99); 10 Apr 2016 14:26:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Apr 2016 14:26:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id ECC64C0416 for ; Sun, 10 Apr 2016 14:26:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id GcasvbkEG0qy for ; Sun, 10 Apr 2016 14:26:16 +0000 (UTC) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 2B7DE5F1BE for ; Sun, 10 Apr 2016 14:26:16 +0000 (UTC) Received: by mail-lf0-f51.google.com with SMTP id c126so126983514lfb.2 for ; Sun, 10 Apr 2016 07:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=MpJpqjXdRk/uq6dzqArC35FQx9nC3GxK88nYrogEKPs=; b=HV++iG93WkVyX4wT1bla/GhqlAjOCjW9/0PXXugzprVt130rPS2dAAJmwy/WCWCD/y BYgNhADD7cwriYW8VCWv4MSE7uKRkfXI4AcvdN79YdAaurSt5KxY68vc8mBT9xaBWRCQ dNfNod5nhe7/46ZbASzcwxJkU+G9MZdi2UhMSpb60PEFH0zeHrZ5Q1vij3a44yZBQbsI ThLm8EAS302+T7incxnLnRVyub8lf61S79ZQ31zQh3+5VlAP01VhL7zVKrJ221rG5cmq ArkquNRNpT4TY9FJ1bzzRlSIAnrIspTiatzGSWOXRZID1249nwQNTnXAJFKxh0m4U+Zs zfpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=MpJpqjXdRk/uq6dzqArC35FQx9nC3GxK88nYrogEKPs=; b=EqXAD8KQjzRQXUPhoDijGn4QY+VAW/bPt2oGl/bIKltd8urKPV/TZG3pQHqfMqRA5d fv7cz6nEC30bX8Alx+zTFc/Xlj2dIScEFCyN7bIrbAXt4/FNSn2R3VHfhLcIWyyFxJ5i 1EH1ysnMK70I/hwsFtYXP/GcIzZ8FduvKrYWWP3OMK4/YIZC05DkyMS2BfjOAyAvYEnh Q2VAyxJarN3Iu8erHFyigL66hpy9lQE10h1X+ohV8enF21UWB9znyUyGIlDqcw4uLPkP /fXd3j+IO5XH860hyGivBzjlK8bL0dOr2qwI06ifjY05DQzrPhnFuYjluRLQGtXWO9Qq XG6w== X-Gm-Message-State: AD7BkJKjwMb3w5ES7LoMPZC9GWNY73XcrUd4cmZrjCqmmW1eKR45x/rjBVMfSoaFCOKV9oqt3Pld9S9tk288hQ== MIME-Version: 1.0 X-Received: by 10.25.211.75 with SMTP id k72mr6652012lfg.45.1460298374795; Sun, 10 Apr 2016 07:26:14 -0700 (PDT) Received: by 10.25.21.100 with HTTP; Sun, 10 Apr 2016 07:26:14 -0700 (PDT) Received: by 10.25.21.100 with HTTP; Sun, 10 Apr 2016 07:26:14 -0700 (PDT) In-Reply-To: <5708D5D9.6050901@googlemail.com> References: <5708D5D9.6050901@googlemail.com> Date: Sun, 10 Apr 2016 19:56:14 +0530 Message-ID: Subject: Re: Http Request Url, Body & Header From: Debraj Manna To: users@camel.apache.org Content-Type: multipart/alternative; boundary=001a1141176ae555c205302235de --001a1141176ae555c205302235de Content-Type: text/plain; charset=UTF-8 Thanks this is what I was looking for. On Apr 9, 2016 3:43 PM, "Andreas Gebhardt" wrote: > Try this > > * in your `log4.properties`: > > log4j.logger.org.apache.http=DEBUG > > * or if you use Camel with Spring Boot in your `application.properties`: > > logging.level.org.apache.http=DEBUG > > > Am 09.04.2016 um 11:39 schrieb Debraj Manna: > >> Yeah that is what I am looking for. But I did not find anything in the >> Camel Http Component doc. >> >> http://people.apache.org/~dkulp/camel/http4.html >> >> On Sat, Apr 9, 2016 at 11:38 AM, Claus Ibsen >> wrote: >> >> Its the http4 client that sends the http request, so it may have some >>> logging you can see if you turn on DEBUG logging or something on it. >>> >>> For Camel you can only see Camel specific logging. >>> >>> On Sat, Apr 9, 2016 at 8:05 AM, Debraj Manna >>> wrote: >>> >>>> Hi, >>>> >>>> Is there a way I can see or log the http request url, body & header sent >>>> >>> by >>> >>>> the camel http4 component? I want to view the final http request url, >>>> >>> body >>> >>>> & header that was sent from the camel. >>>> >>> >>> >>> >>> -- >>> Claus Ibsen >>> ----------------- >>> http://davsclaus.com @davsclaus >>> Camel in Action 2: https://www.manning.com/ibsen2 >>> >>> >> > --001a1141176ae555c205302235de--