[ https://issues.apache.org/jira/browse/LOG4J2-3391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496200#comment-17496200 ]
ASF subversion and git services commented on LOG4J2-3391: --------------------------------------------------------- Commit e41654243e4d8f34c7ffd66fbf2d35fa80474d21 in logging-log4j2's branch refs/heads/release-2.x from Gary Gregory [ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=e416542 ] [LOG4J2-3391] Add optional additional fields to NoSQLAppender. Document new feature for MongoDB 3 and 4. > Add optional additional fields to NoSQLAppender > ----------------------------------------------- > > Key: LOG4J2-3391 > URL: https://issues.apache.org/jira/browse/LOG4J2-3391 > Project: Log4j 2 > Issue Type: Improvement > Components: Appenders > Reporter: Omer U > Assignee: Gary D. Gregory > Priority: Major > Fix For: 2.17.2 > > > Additional fields cannot be added to NoSQLAppender logs. > I wasn't able to way a find of attaching fields application server hostname > or a simple tag like application server name. > Only way of adding custom information seems to be ThreadContext -- This message was sent by Atlassian Jira (v8.20.1#820001)