-
1. Re: Question regarding Tomcat 5.5 within Jboss 5
jfclere Aug 21, 2012 1:55 AM (in response to rbreault73)I don't think that won't work:
1 - AS5 used JBossWeb based on Tomcat6.
2 - JBossWeb uses jboss logging.
-
2. Re: Question regarding Tomcat 5.5 within Jboss 5
rbreault73 Aug 21, 2012 2:08 AM (in response to jfclere)Correct it is using jbossWeb but for the localhost_access_logs its using the catalina.valves class.
<!-- Access logger -->
<Valve className="org.apache.catalina.valves.AccessLogValve"
prefix="access." suffix=".log"
pattern='"%{X-Forwarded-For}i" %l %u %t %{Host}i "%r" %s %b "%{Referer}i" "%{User-Agent}i" %D %p' directory="${jboss.server.log.dir}"
resolveHosts="false" />
So in that this log is never touched by the joss logging ( log4j ) it writes a seperate file and is turned off by default.
The link I posted in how in tomcat 5.5 or tomcat 6 you can add a custom jar file and make a change to the class called here and use log4j to write the logs using syslog. Of course in tomcat 6 its easy to find where the jar file needs to go within the lib directory and a jar file in the bin directory. With jbossweb the tomcat is buried somewhere inside there. If I could figure out which jar has the tomcat jars within it I could extract these and add the custom classes.