Skip to content

Logback should default to JVM's default charset instead of ASCII #27230

Closed
@gbaso

Description

@gbaso

Following #23827, default charset where defined for a base logback configuration in 5e26954, as ${CONSOLE_LOG_CHARSET:-default} and ${FILE_LOG_CHARSET:-default}.

Unfortunately, logback interprets that as Charset.forName("default"), which taking a look at sun.nio.cs.StandardCharsets$Aliases is hardcoded to return ASCII. I feel like Charset.defaultCharset() would be a more natural choice.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions