RE: environment variables for hostname and context name

2009-09-19 Thread Caldarale, Charles R
> From: Chris Cheshire [mailto:cheshira...@gmail.com] > Subject: Re: environment variables for hostname and context name > > The tomcat directory is available through the environment > somehow, and is accessed as ${catalina.home}. The ${catalina.home} reference is to a system p

Re: environment variables for hostname and context name

2009-09-18 Thread Chris Cheshire
Right. The tomcat directory is available through the environment somehow, and is accessed as ${catalina.home}. From here I can get to the tomcat logs directory. What else is exposed this way? I am hoping that if the host and context are available in the logging message itself, then maybe they are/c

Re: environment variables for hostname and context name

2009-09-18 Thread Rainer Jung
On 19.09.2009 02:18, Chris Cheshire wrote: > I'm reconfiguring the logging for my tomcat installation (6.0.20) to > use logback (instead of log4j) for the server logging so I can split > out error messages on a per host basis. I see that "catalina.home" is > exposed as an environment var and usable

Re: environment variables for hostname and context name

2009-09-18 Thread Chris Cheshire
I forced that error specifically for this example. That's not the issue. That is an example of what I am trying to log, and it illustrates that the information I need is available at the logging level. On Fri, Sep 18, 2009 at 7:01 PM, Martin Gainty wrote: > > org.apache.jasper.JasperException: /

RE: environment variables for hostname and context name

2009-09-18 Thread Martin Gainty
ire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Fri, 18 Sep 2009 17:18:08 -0700 > Subject: environment variables for hostname and context name > From: cheshira...@gmail.com &g

environment variables for hostname and context name

2009-09-18 Thread Chris Cheshire
I'm reconfiguring the logging for my tomcat installation (6.0.20) to use logback (instead of log4j) for the server logging so I can split out error messages on a per host basis. I see that "catalina.home" is exposed as an environment var and usable in the logging configuration file - what about the