-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Labels
agent-javabugSomething isn't workingSomething isn't workingcommunityIssues and PRs created by the communityIssues and PRs created by the community
Description
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.
Metadata
Metadata
Assignees
Labels
agent-javabugSomething isn't workingSomething isn't workingcommunityIssues and PRs created by the communityIssues and PRs created by the community