L.S.,

In ServiceMix 4.x, the default log configuration file is in
etc/org.ops4j.pax.logging.cfg.  You should be able to disable logging or
reduce log levels there if you see to much information.

For you use case, you could use either
- the camel log component (http://camel.apache.org/log.html) and configure
to only log the headers (containing the file name), somethink like
.to('log:guru?showHeaders=true&showBody=false")
- the camel .log DSL method (http://camel.apache.org/logeip.html) and add
something like .log("Start processing ${file:name}") and .log("Done
processing ${file:name}") to your route to log these two lines for every
file


Regards,

Gert Vanthienen
------------------------
FuseSource
Web: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/


On Wed, Oct 19, 2011 at 10:32 AM, Gnanaguru S <
[email protected]> wrote:

> Hi
>
> I am doing from file operation using SMX. I am moving 1000 files from one
> directory to another directory. I want to calculate time taken to transfer,
> This i calculate one using log. But servicemix.log file showing the file
> contents such that it occupies of more log file space. I just require info
> of job done, not so much described job.
>
> By the way, It consumes more time.
>
> Help out
>
> I was not able to find log4j.properties file in latest SMX/Fuse. How to
> disable it.
>
> regards
> Guru
>
> -----
> Cheers
>  Guru
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/No-content-of-File-in-LOG-tp4916887p4916887.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>

Reply via email to