Hi,

There is some information that is further needed in order to resolve this
issue.

How are you wiring your logger object to Camel? I am assuming of course you
have a handcrafted logger. If not, please check the following link

http://camel.apache.org/log.html http://camel.apache.org/log.html 

As for hiding usernames and passwords, please check out the following link

http://camel.apache.org/jasypt.html http://camel.apache.org/jasypt.html 

Using jasypt, you should encrypt both and then pass these strings through
camel routes. The logger will give them literal treatment and garble the
username and password. Camel internally will do the right thing and convert
the values before reading.

Hope this helps.

Cheers,

Ashwin...

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com 
---------------------------------------------------------
--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-Camel-with-log4j-xml-tp4617036p4617528.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to