As reported in #2666, ```xml <PatternLayout pattern="${env:TZ:-%d{yyyy-MM-dd HH:mm:ss}{GMT+00}}"/> ``` leaves behind a trailing `}` while formatting date. That is, `StrSubstitutor` doesn't correctly parse nested braces.
As reported in #2666,
leaves behind a trailing
}while formatting date. That is,StrSubstitutordoesn't correctly parse nested braces.