Can you post your config and log4j version?

On 6 October 2017 at 00:25, gaurav deshpande <gaurav9...@gmail.com> wrote:

> Please help
> ---------- Forwarded message ----------
> From: "gaurav deshpande" <gaurav9...@gmail.com>
> Date: 06-Oct-2017 02:19
> Subject: Fetch message values in JDBCAppender
> To: <log4j-user@logging.apache.org>
> Cc:
>
> Hi log4j2 users,
>
> 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 databse?
>
> I've tried pattern attribute in column tag but thats not working.
>
> Input: custom message
> Output: store it into database table
>
> Please help,
>
> Thanks,
> Gaurav
>



-- 
Matt Sicker <boa...@gmail.com>

Reply via email to