On 2017-10-13 18:03, Chandra wrote:
> Can you post your log4j2 configuration? Iâve seen some issues while using
> failover appender.
>
> On 13 Oct 2017, 6:00 PM +0530, gaurav9...@gmail.com ,
> wrote:
> > Hi log4j2 developers,
> >
> > I am getting
Hi log4j2 developers,
I am getting following error while configuring 'failoverappender' for my
primary 'console appender':
appender Failover has no parameter that matches element Failovers
P.S. I have set ignoreExceptions="false" for the primary 'console appender'
Log4j2 version: 2.9.0
Tutori
Hi log4j2 users,
I have created a MapMessage with a key-value pair
e.g. userName="log4j"
I have configured JDBCAppender with
But, it gives null pointer error when tried to insert into database table using
%K/%map/%MAP
and works when you put normal message/literal string.
Note:
'userName'
Hi log4j2 dev,
I have created custom-message implementing 'message' interface.
I have also created JDBCAppender which writes values from above message to
database table.
But how do I get the value from custom message and store it into database?
I've tried pattern attribute in column tag of JDBC