I wonder you came up with a solution ?
 

Jonathan Mast-2 wrote:
> 
> OK, i have a webapp which has it's own context element.  I want all the
> System.out and System.err stuff from this webapp to go to it's own special
> log file as opposed to catalina.out.  My reading of the Tomcat docs
> (version
> 5.5) seems to indicate that I can do this by following these steps:
> 
> 1. set the "swallowOutput" attribute to true in the Context entry in
> server.xml
> 2. add the following to the "logging.properties" file:
> 
>     6FOOAPP.org.apache.juli.FileHandler
> 
>     6FOOAPP.org.apache.juli.FileHandler.level = FINE
>     6FOOAPP.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
>     6FOOAPP.org.apache.juli.FileHandler.prefix = FOOAPP.
> 
> 
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/FOOAPP].level
> = FINE
> 
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/FOOAPP].handlers
> = 6FOOAPP.org.apache.juli.FileHandler
> 
> 3. restart Tomcat
> 
> Is this correct?
> 
> The last 2 lines of the edit I really don't understand.
> 
> thanks
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Context-level-logging-tp17630343p20422122.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to