Log files
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mandar_Pohnerkar
Posted On:   Saturday, December 15, 2001 02:14 AM

Please send me detail information about the log files created by tomcat server.
such as


    1. how does tomcat writes to log files,i.e what file is responsible for creating log files

      and how does tomcat server reades that file

    thanks
  • Re: Log files

    Posted By:   Munish_Jauhar  
    Posted On:   Saturday, December 15, 2001 02:26 AM

    Hi Mandar

    Within the tomcat folder there is another folder called conf which contains a file called server.xml, within this file you can adjust the following parameters:



    verbosityLevel = "INFORMATION"
    />


    path="logs/servlet.log"
    />


    path="logs/jasper.log"
    verbosityLevel = "INFORMATION" />



    Also within the omcatconf there is a file called wrapper.properties, within this file you will find the following lines:

    wrapper.stdout=$(wrapper.tomcat_home)logsjvm.stdout

    wrapper.stderr=$(wrapper.tomcat_home)logsjvm.stderr


    If you are running tomcat in conjunction with IIS that you have setup the ISAPI redirect DLL file then these two lines will enable you log all your error messages and System.out.println() statements to these files for debugging.

    HTH


    Munish Jauhar
    About | Sitemap | Contact