You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I didn't succeed in shortening the logger name to simple class name. Although it is stated that shortenedLoggerNameLength behaves similar to normal pattern style, <shortenedLoggerNameLength>0</shortenedLoggerNameLength> doesn't result in simple class name as %logger{0} does. In fact, foo.bar.baz.MyClass is shortened to f.b.b.MyClass instead of MyClass.
Describe the solution you'd like
I'd like shortenedLoggerNameLength to behave the same way as normal pattern style for 0 parameter to enable simple class name logger customization.
The text was updated successfully, but these errors were encountered:
First of all, sorry for the late answer :-(
Secondly, there is indeed a problem with how the logger name is shortened when the length is set to 0 (as you noticed). It works however as expected when the length is greater than zero.
Is your feature request related to a problem? Please describe.
I didn't succeed in shortening the logger name to simple class name. Although it is stated that
shortenedLoggerNameLength
behaves similar to normal pattern style,<shortenedLoggerNameLength>0</shortenedLoggerNameLength>
doesn't result in simple class name as%logger{0}
does. In fact,foo.bar.baz.MyClass
is shortened tof.b.b.MyClass
instead ofMyClass
.Describe the solution you'd like
I'd like
shortenedLoggerNameLength
to behave the same way as normal pattern style for0
parameter to enable simple class name logger customization.The text was updated successfully, but these errors were encountered: