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

Flag Disable Encoding for HTMLLayout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Layouts
    • Windows 7 OS, Java 7.

    Description

      For HTMLLayout, I would like to add some customized html tags to render my logs, but since Log4j2 is encoding the events and writing it, while rendering the encoded values of the tags is causing the rendering uneven. Would it possible to provide a flag to enable or disable the html encoding and it would be upto the user discretion to use it.

      Attachments

        1. log4j.zip
          2 kB
          Sudharma Puranik
        2. test.html
          2 kB
          Sudharma Puranik

        Activity

          People

            Unassigned Unassigned
            sudharma.puranik@gmail.com Sudharma Puranik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: