big

Well-Known Member
Aug 12, 2001
224
0
316
Earth
Hello,

I was wondering how to make tomcat logs into separated log file for each website? because when i can separate logs i can make the user access his own log dir/files instead me coping thelogs for time every time.


Thank you.
 

naveen3

Active Member
Jan 28, 2005
30
0
156
Hello
i am also facing same problem, client want to see logs of his application under tomcat.

-naveen
 

naveen3

Active Member
Jan 28, 2005
30
0
156
any idea where are the tomcat LOGS located for each site/customer.
i have tomcat 5.5.7,

-nav
 
Last edited:

big

Well-Known Member
Aug 12, 2001
224
0
316
Earth
i think you need to add special lines to your server.xml to start logging
i have those lines
Code:
        <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_log." suffix=".txt" timestamp="true"/>
and
Code:
      <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/>
 

ehpmahesh

Well-Known Member
Jul 3, 2004
74
0
156
Where i have to add those lines at the bottom of each user entry in server.xml file or on some specific location please explan so that i can update