-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
Description
Hi
I am using ch.qos.logback.more.appenders.FluencyLogbackAppender along with Fluency, I was wondering is there is any way to format the log message before it gets emitted.? I would need to mask certain fields.
<encoder>
<charset>UTF-8</charset>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS,UTC} UTC: ${PID:- }
[%15.15thread] %5p [%X{traceId}/%X{spanId}] - %-40.40logger{39} :
%replace(%.5000msg%n ){'[Pp]assword*([^,]*),', 'password=xxxx,'}%n
</pattern>
</encoder>
I tried the above config in my logback xml, but could not find any difference. any suggestion.?
Reactions are currently unavailable