diff --git a/fits/rootfs/etc/confd/conf.d/log4j.properties.toml b/fits/rootfs/etc/confd/conf.d/log4j.properties.toml index 1fec58e6..2d966c9b 100644 --- a/fits/rootfs/etc/confd/conf.d/log4j.properties.toml +++ b/fits/rootfs/etc/confd/conf.d/log4j.properties.toml @@ -1,6 +1,6 @@ [template] src = "log4j.properties.tmpl" -dest = "/opt/tomcat/webapps/fits/WEB-INF/classes/log4j.properties" +dest = "/opt/fits/log4j.properties" uid = 100 gid = 1000 mode = "0640" diff --git a/fits/rootfs/etc/confd/conf.d/log4j2.xml.toml b/fits/rootfs/etc/confd/conf.d/log4j2.xml.toml new file mode 100644 index 00000000..47d89317 --- /dev/null +++ b/fits/rootfs/etc/confd/conf.d/log4j2.xml.toml @@ -0,0 +1,7 @@ +[template] +src = "log4j2.xml.tmpl" +dest = "/opt/tomcat/webapps/fits/WEB-INF/classes/log4j2.xml" +uid = 100 +gid = 1000 +mode = "0640" +keys = [ "/" ] diff --git a/fits/rootfs/etc/confd/templates/log4j2.xml.tmpl b/fits/rootfs/etc/confd/templates/log4j2.xml.tmpl new file mode 100644 index 00000000..5562ca09 --- /dev/null +++ b/fits/rootfs/etc/confd/templates/log4j2.xml.tmpl @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file