camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Enable INFO level logs on GenericFileOnCompletion when the file transfer completes
Date Fri, 10 Apr 2015 13:31:12 GMT
Hi

Oh and if you are using from file, then its a scheduled polling
consumer, then you can configure the run logging level.
http://camel.apache.org/polling-consumer.html

On Fri, Apr 10, 2015 at 3:25 PM, dwarakart <dwaraka.ramana@gmail.com> wrote:
> Hi All,
>
> It would be of great help to verify the transfer of file/message using
> Camel. However, this is logged currently at DEBUG level in
> GenericFileOnCompletion.java. Can this logging level be changed to INFO
> instead?
>
> If the program runs indefinitely in a poller scenario, it would be good to
> know when the files/messages are transferred as this can happen
> intermittently.
>
> Summary of request: Change
>
>                 this.log.debug("Done processing file: {} using exchange: {}",
>                                 this.file, exchange);
>
> to
>
>                 this.log.info("Done processing file: {} using exchange: {}",
>                                 this.file, exchange);
>
> Please share your thoughts.
>
> Thanks
> Dwarakart
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Enable-INFO-level-logs-on-GenericFileOnCompletion-when-the-file-transfer-completes-tp5765595.html
> Sent from the Camel Development mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message