Skip to content

Consider switching Logback's file logging charset to UTF-8Β #44472

@mhalbritter

Description

@mhalbritter

Right now, Logback uses Charset.defaultCharset() for file logging. Log4j2 uses UTF-8. I think we should consider using UTF-8 for Logback, too. Charset.defaultCharset() is platform dependent, which could lead to confusing bugs. The Java team (with JEP 400) recognized this is a problem and fixed that in Java 18.

Read #44353 for more background.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions