leleplus opened a new issue, #1450: URL: https://github.com/apache/logging-log4j2/issues/1450
I would like to propose a new feature for log4j2 called "PackagePatternSelector", which is similar to "LevelPatternSelector" but selects the pattern based on the package name of the logger. Currently, log4j2 provides "LevelPatternSelector" to select a pattern based on the log level. However, in my use case, I need to differentiate log output based on the package name of the logger. I believe this is a common requirement for many developers. With the addition of "PackagePatternSelector", users will be able to define different patterns for different packages. For example, we could define a specific pattern for a package named "com.example.package1" and another pattern for "com.example.package2". I believe this feature would greatly enhance the flexibility of log4j2 and make it more useful for a wider range of use cases. Thank you for considering my proposal. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
