Is there any chance this will get implemented natively? The code above is no longer compatible with the current API. getMaxFileSize() is gone. maxFileSize is not visible. setMaxFileSize() now takes FileSize, not String. This appears to have been a change in the most recent release (1.1.8). Without the call to setMaxFileSize it doesn't roll. And without the getter there is no way to set it back to the original value, so it rolls on every line. Even if I find a solution it seems it will be strongly dependent on my logback version. These seem like good arguments for a native feature.
|