I write one vertx project and use log4j2 as my log framework.
and I use custom log4j2 plugin to configure my custom property in log4j2.xml
it run ok when I run the project in idea, but failed when I package the code into root-fat.jar.
Thanks.
the dependency:
<project.log4j2.version>2.11.0</project.log4j2.version>
<project.slf4j.version>1.7.2</project.slf4j.version>
<project.logback-classic.version>1.1.5</project.logback-classic.version>
<project.vertx.version>3.5.1</project.vertx.version>
xml config file:
and the plugin code:
use log4j2 in vertx and all-asynchronzied feature
the maven build plugin
the command in terminal
and the fail message