[logback-dev] [JIRA] Updates for LOGBACK-1560: Allow ServerAdapter customization in LogbackValve

QOS.CH (JIRA) noreply-jira at qos.ch
Thu May 27 12:48:00 CEST 2021


logback / LOGBACK-1560 [Open]
Allow ServerAdapter customization in LogbackValve

==============================

Here's what changed in this issue in the last few minutes.
This issue has been created
This issue is now assigned to you.

View or comment on issue using this link
https://jira.qos.ch/browse/LOGBACK-1560

==============================
 Issue created
------------------------------

Alexey created this issue on 27/May/21 12:33 PM
Summary:              Allow ServerAdapter customization in LogbackValve
Issue Type:           Improvement
Assignee:             Logback dev list
Components:           logback-access
Created:              27/May/21 12:33 PM
Environment:          ch.qos.logback.access.tomcat.LogbackValve
Priority:             Minor
Reporter:             Alexey
Description:
  Currently in LogbackValve#invoke we have:
  {code:java}
  TomcatServerAdapter adapter = new TomcatServerAdapter(request, response);
  IAccessEvent accessEvent = new AccessEvent(request, response, adapter);
  {code}
  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.


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)



More information about the logback-dev mailing list