Hi!! After starting TomCat (jakarta-tomcat-5.0.28), there was a need to see who is connecting to server (clients IP adress, how much data transfered, etc.), so I uncomment this piece of code in conf/server.xml:
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/> It is working just fine, but now I need to see that log writen in System.out, and in localhost_access_log too. Can someone tell me how to redirect log file, such as localhost_access_log to System.out. Thanks...