Skip to content

Commit

Permalink
Merge pull request #2876 from mawen12/fixLog4j2CannotUseShutdownHook
Browse files Browse the repository at this point in the history
修复在调用bin/init_zk_data.sh时,Log4j2调用shutdown的钩子报错的问题
  • Loading branch information
junwen12221 authored Nov 15, 2021
2 parents c8ebec1 + b80bfc0 commit a822e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Configuration shutdownHook="disable" status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d [%-5p][%t] %m %throwable{full} (%C:%F:%L) %n"/>
Expand Down

0 comments on commit a822e83

Please sign in to comment.