[logback-dev] [JIRA] (LOGBACK-1747) Allow subclasses of LoggerContext to customize new Logger instances

logback developers list logback-dev at qos.ch
Thu Apr 11 18:28:20 UTC 2024


Hi Ceki,

In our case we are modeling the behavior of a legacy logging system, so 
we have extended LoggerContext and override customizeNewLogger() to 
inject the logger with existing appenders and attributes that fine tune 
the logging according to the legacy product's settings.

Best regards,

Richard

------ Original Message ------
>From "logback developers list via logback-dev" <logback-dev at qos.ch>
To logback-dev at qos.ch
Cc "logback developers list" <logback-dev at qos.ch>
Date 4/11/2024 2:10:00 PM
Subject [logback-dev] [JIRA] (LOGBACK-1747) Allow subclasses of 
LoggerContext to customize new Logger instances

>Ceki Gülcü 
><https://jira.qos.ch/secure/ViewProfile.jspa?name=ceki>commented on
>Improvement
>LOGBACK-1747 <https://jira.qos.ch/browse/LOGBACK-1747>
>
>Re: Allow subclasses of LoggerContext to customize new Logger instances 
><https://jira.qos.ch/browse/LOGBACK-1747>
>Richard Sand <https://jira.qos.ch/secure/ViewProfile.jspa?name=rsand> 
>Can you describe the customization?
>
>Add Comment
><https://jira.qos.ch/browse/LOGBACK-1747#add-comment> Add Comment 
><https://jira.qos.ch/browse/LOGBACK-1747#add-comment>
>
>This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af)
>Atlassian logo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-dev/attachments/20240411/6b197c25/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3408 bytes
Desc: not available
URL: <http://mailman.qos.ch/pipermail/logback-dev/attachments/20240411/6b197c25/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 460 bytes
Desc: not available
URL: <http://mailman.qos.ch/pipermail/logback-dev/attachments/20240411/6b197c25/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://mailman.qos.ch/pipermail/logback-dev/attachments/20240411/6b197c25/attachment-0002.png>


More information about the logback-dev mailing list