Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1560

Allow ServerAdapter customization in LogbackValve

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • logback-access
    • None
    • ch.qos.logback.access.tomcat.LogbackValve

    Description

      Currently in LogbackValve#invoke we have:

      TomcatServerAdapter adapter = new TomcatServerAdapter(request, response);
      IAccessEvent accessEvent = new AccessEvent(request, response, adapter);
      

      but it's useful to have possibility to customize TomcatServerAdapter, so it's helpful to move TomcatServerAdapter creation to a protected method so it will be possible to override TomcatServerAdapter creation.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            ravenstar Alexey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: