Commit 05490bc6 authored by Dr. Martin Goik's avatar Dr. Martin Goik

log4j config with package correction, executable MANIFEST.MF jar entry

parent e9e548a7
Final success via
Create Project from local repository using:
mvn archetype:generate -DarchetypeCatalog=local -DarchetypeGroupId=de.hdm-stuttgart.mi \
-DarchetypeArtifactId=mi-maven-archetype-quickstart -DarchetypeVersion=1.1 \
-DgroupId=qq -DartifactId=ww -DinteractiveMode=false
......@@ -22,7 +22,7 @@
<fileSet filtered="false" packaged="false" encoding="UTF-8">
......@@ -55,6 +55,29 @@
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
......@@ -20,7 +20,7 @@ public class App {
log.debug("With respect to logging you may want to configure file ");
log.debug("'src/main/resources/log4j2.xml' to suit your needs.");
log.debug("This config file 'log4j2.xml' will result in 'A1.log'" +
" file containing logging output as well.");
log.debug("This config file 'log4j2.xml' will result in 'A1.log'");
log.debug("file containing logging output as well.");
......@@ -11,10 +11,10 @@
<!-- You my want to define class or package level per-logger rules -->
<Logger name="de.hdm_stuttgart.mi.sda2.qq.App" level="debug">
<Logger name="${package}.App" level="debug">
<AppenderRef ref="A1"/>
<Root level="debug">
<Root level="info">
<AppenderRef ref="STDOUT"/>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment