Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2142

Allow customized NoSql serialization of LogEvents

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Appenders
    • None

    Description

      referring to this:
      https://github.com/apache/logging-log4j2/blob/master/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/nosql/NoSqlDatabaseManager.java#L68

      We need to change the schema a little (field names and exclusion/inclusion of fields), and would like to do so without having to rewrite the connection and configuration logic. The existing classes are final so I don't know if there's an easy/simple way to do it.

      I am new to the Log4j 2 api so perhaps there's another way that already works. Maybe it can be added to the NoSql Appenders documentation page on the Log4j2 site.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aarjav Aarjav Patel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: