GitHub user vy added a comment to the discussion: JSON Template Layout - logger - only the class name without the package
@amosshi, thanks so much for the feedback. I think your use case is a perfectly valid `PatternLayout`-fallback – it would be an utter non-sense to duplicate the entire `%c` machinery of PL in JTL. The JTL manual paragraph motivated your report was written at a time when JTL was not mature enough with its own directive ecosystem, and several users were falling back to PL for things that should have actually been part of the JTL ecosystem. I think this trend has disappeared over time as JTL ecosystem has matured. It is certainly time to revise that part of the JTL documentation and inform users on valid use cases – created #3895 for this purpose. GitHub link: https://github.com/apache/logging-log4j2/discussions/3890#discussioncomment-14208427 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
