Relative Content

Tag Archive for javaloggingexportlog4j2executable-jar

Log4j2 Not write to log after I exported to .jar

I have a log4j2.xml which works correctly, until I export the project. The basePath in this case configured manually. So the log file location is correct even after export. After the exporting, just the console work. Export works with the required JAR files: slf4j-api-2.0.12.jar, log4j-core-2.22.1.jar, log4j-api-2.22.1.jar. etc…