I asked a while back about access logging with an embedded Tomcat, but haven't heard anything. I finally decided to hack something together to add access logging to the embedded Tomcat. The access log is put in ${JBOSS_DIST}/log, where ${JBOSS_DIST} represents the top level directory of the JBoss installation. I've posted an attached diff file for the source and also an updated tomcat4-service.sar which can simply be dropped in the ${JBOSS_DIST}/deploy directory. The SAR file obviates the need for recompiling the source.
I've posted your .sar.zip file. When I start Jboss I'm getting a "no deployment descriptor" when it attempts to deploy your file.
Do I need to include an application.xml descriptor in the root for the .sar file?