Balazs, Thanks for the response. Good point about Camel not being the right
"level".
Camel's DefaultMaskingFormatter uses a set of Regex's to look for the
"secret key name" if it is formatted in three ways: key-value pair, json
name:value, of XML tag..
That's something just as easily put into Logb
I'm not sure how to use those formatters, but we used logback's "replace"
feature to make sure no credit card numbers are logged for example:
%d{HH:mm:ss.SSS} [%16.16thread] %-5level %-30.30logger{30}
\(%X{camel.breadcrumbId}\) -
%replace(%m){'(secret:)[^\s]*','$1--'}%n%xEx
Depending
I need to mask certain headers (e.g. Authorization header) at the Camel
Context level, so that even if a programmer logs "showAll", the header is
masked.
Reading the Camel docs, I thought I would implement LogListener or
ExchangeFormatter
But, looking at this thread, maybe I should extend the
Defa
Could you give me an example how can invoke a bean inside a log component?
Thank Claus.
--
View this message in context:
http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p5794331.html
Sent from the Camel - Users mailing list archive at Nabble.com.
3, 2017 at 10:28 AM, adondoni [via Camel] <
ml-node+s465427n5794331...@n5.nabble.com> wrote:
> Could you give me an example how can invoke a bean inside a log component?
>
> Thank Claus.
>
> --
> If you reply to this email, your message will
change your message.
>
>
>> My blueprint xml is:
>>
>> ...
>>
>>
>> ...
>>
>>
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p5794322.html
>> Sent from the Camel - Users mailing li
the
so it does NOT change your message.
> My blueprint xml is:
>
> ...
>
>
> ...
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p5794322.html
> Sent from the Camel - U
Hi,
I've already thinks this solution.
But if mask a password into a bean before log, I modify a message that
continue in a route a lost password value.
My blueprint xml is:
...
...
--
View this message in context:
http://camel.465427.n5.nabble.com/Mask-password-using-log-comp
gt; "username": "x",
> "password": ""
> },
> "jsonrpc": "2.0"
> }
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p57
t;jsonrpc": "2.0"
}
--
View this message in context:
http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p5794308.html
Sent from the Camel - Users mailing list archive at Nabble.com.
problem is that request could be contains password value.
>
> Question is how can I mask password value when log body message.
>
> Thank in advance
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794
ssage in context:
http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hiya
There seems to be a little inconsistency between the log component and the
log DSL
Log component documentation says that it will always use a logger from the
registry if a one is found
Log DSL documentation says that it will only use a logger from the registry
if the logger is not
Hi,
The log component just log the message with the level that you set, it just as
the common log.
If your log endpoint level is lower then the category configuration, the log
message won’t appear.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http
logging for this category outside this
route will have a log level of *INFO*?
Thanks
Joe
--
View this message in context:
http://camel.465427.n5.nabble.com/Log-component-query-tp5747211.html
Sent from the Camel - Users mailing list archive at Nabble.com.
The log component utilizes whatever underlying logging mechanism you are
using, like log4j or logback, etc. For log4j just google something like
org.apache.log4j.RollingFileAppender and you'll find config options to add
to log4j.properties.
On Tue, May 7, 2013 at 5:35 PM, Chris Wolf wrote:
I notice all kinds of options for the log compenent, except for how to
log to a file, as opposed to stdout:
http://camel.apache.org/log.html
I'm sure I'm some obvious piece of documentation on that, but I just
can't find it...
Any help?
Thanks,
Chris
(English)
http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang
Weibo: willemjiang
On Friday, September 7, 2012 at 2:09 AM, timgstewart wrote:
> Minor problem, but according to the Log component documentation at
> http://camel.apache.org/log.html there i
Minor problem, but according to the Log component documentation at
http://camel.apache.org/log.html there is a level option:
level INFOString Logging level to use. Possible values: FATAL, ERROR,
WARN, INFO, DEBUG, TRACE, OFF
Using FATAL gives:
Caused by
/charlesmoulliard
On Thu, May 6, 2010 at 3:15 PM, Claus Ibsen wrote:
> Hi
>
> Yes see the wiki documentation and the first example
> http://camel.apache.org/logeip.html
>
>
> On Thu, May 6, 2010 at 3:08 PM, Charles Moulliard
> wrote:
>> Hi,
>>
>> I would li
Hi
Yes see the wiki documentation and the first example
http://camel.apache.org/logeip.html
On Thu, May 6, 2010 at 3:08 PM, Charles Moulliard wrote:
> Hi,
>
> I would like to know if it is possible using the log component to
> printout a message to the console with the message i
Hi,
I would like to know if it is possible using the log component to
printout a message to the console with the message id ?
from()
.log(">>> Message saved in the DB : " + )
Kind regards,
Charles Moulliard
Senior Enterprise Architect (J2EE, .NET, SOA)
Apa
22 matches
Mail list logo