Description of problem: After configuring tomcat to work with log4j, there are no logs. Version-Release number of selected component (if applicable): tomcat-7.0.59-4.fc22.noarch tomcat-log4j-7.0.59-4.fc22.noarch How reproducible: Always Steps to Reproduce: 1. dnf install tomcat tomcat-log4j 2. cp /etc/tomcat/log4j.properties /usr/share/tomcat/lib/log4j.properties 3. cp /usr/share/java/tomcat/log4j.jar /usr/share/tomcat/lib 4. echo "LOGGING_PROPERTIES=/usr/share/tomcat/lib/log4j.properties" > /etc/tomcat/tomcat.conf 5. systemctl start tomcat Actual results: tomcat.log does not exist in /var/log/tomcat Expected results: tomcat.log should exist in /var/log/tomcat with debug logging Additional info: I followed the information at https://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j and got this to work by replacing tomcat-juli.jar in /usr/share/tomcat/bin and adding tomcat-juli-adapaters.jar to /usr/share/tomcat/lib Here is the tomcat process I ran [root@fedora22 lib]# ps -ef | grep java tomcat 4128 31665 4 12:54 pts/0 00:00:02 /usr/lib/jvm/jre/bin/java -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/lib/java/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat/temp -Djava.util.logging.config.file=/usr/share/tomcat/lib/log4j.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start
It seems they are rebranding commons lib. <replacefilter token="org.apache.commons" value="org.apache.juli" /> I don't think it is acceptable for fedora to ship such duplicates.
tomcat-8.0.32-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5e0bb2f21a
tomcat-7.0.68-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-62619c1bda
tomcat-8.0.32-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5e0bb2f21a
tomcat-7.0.68-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-62619c1bda
tomcat-7.0.68-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b19c75d748
tomcat-7.0.68-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b19c75d748
tomcat-7.0.68-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e6651efbaf
tomcat-7.0.68-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e6651efbaf
tomcat-7.0.68-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.