You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2022/01/28 16:12:51 UTC

[GitHub] [logging-log4j2] jvz commented on pull request #733: [LOG4J2-3341] Support logger level and appender refs shorthand

jvz commented on pull request #733:
URL: https://github.com/apache/logging-log4j2/pull/733#issuecomment-1024367931


   > @jvz: maybe you can add a default for all component names: `name = key.replaceAll("-", ".")`? This way you'll allow also to configure a logger in one property:
   > 
   > `logger.org-apache-logging-log4j=INFO,app1,app2`
   
   This is an interesting idea. The only potential issue here is that dashes are technically allowed in logger names, though I doubt they're used. Could probably be added with this whole update.
   
   I'll have docs updates to go with this before it's ready to merge.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org