Skip to content

Since 2.4.2, the Logback charset defaults to UTF-8 rather than the OS's default #24894

Closed
@jonesun

Description

@jonesun

When I use version 2.4.2, package it into a jar, and run it with cmd: java -jar demo-0.0.1-SNAPSHOT.jar, the log output is garbled. But after falling back to 2.4.1, using the same method again, it is completely normal. The attachment is the result comparison:

use-2 4 1
use-2 4 2

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions