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
So if logging.properties contains: co.elastic.logging.jul.EcsFormatter.stackTraceAsArray=true
the formatter property stackTraceAsArray will be true only if a system property named "true" with value "true" exists.
It's a workaround but I don't think it was intended that way.
The text was updated successfully, but these errors were encountered:
The boolean parameters values (in co.elastic.logging.jul.EcsFormatter's constructor) are loaded using java method Boolean.getBoolean(property) instead of Boolean.parseBoolean(string).
So if logging.properties contains:
co.elastic.logging.jul.EcsFormatter.stackTraceAsArray=true
the formatter property stackTraceAsArray will be true only if a system property named "true" with value "true" exists.
It's a workaround but I don't think it was intended that way.
The text was updated successfully, but these errors were encountered: