Hi Log4j2 users, I've created custom-message implementing log4j2's 'message' interface like following tutorial https://logging.apache.org/log4j/2.x/manual/messages.html
I've defined JDBCAppender in lo4j2.xml which writes values from above message to database table. I've tried using conversion-pattern %m in the Column configuration but it stores the whole message. Which conversion-pattern to use here to get specific variable values and writing them in the table's column? Link to Stackoverflow question: https://stackoverflow.com/questions/46668645/store-custom-message-variable-values-to-the-database-tables-column-using-log4j2 --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org