Replies: 1 comment
-
@amosshi, thanks so much for the feedback. I think your use case is a perfectly valid 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. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In the JSON Template Layout document it reads:
The Problem
In today, JSON Template Layout has no way to generate logger Class Name without the Java package
Well usually the Java package is too long and we want to skip it to save disk space, especially for a high traffic data center.
The Pattern Solution
In Pattern layout we can achieve it easily via
"%c{1}
, while there is no such option in JSON Template Layout unfortunately.The Idea
How about add a new option for logger, like
shortName
, which only generate the class name without the package.Beta Was this translation helpful? Give feedback.
All reactions