Subject: Re: enabling logging
- Next message: neil p chue hong: "Re: building from source rel 2.5"
- Previous message: M.Jackson: "Re: adding new porttype to Grid Data Service"
- In reply to: Gurmeet Singh: "enabling logging"
From: M.Jackson (michaelj@epcc.ed.ac.uk)
Date: Jun 10, 2003 08:43
Hi Gurmeet,
On Mon, 9 Jun 2003, Gurmeet Singh wrote:
> Hi,
> How can I enable logging in the OGSADAI source code and where will the
> log file get created under the tomcat deployment. I am using release 2
> now. Hope it is the same in the new release also.
You should ensure that you have a CATALINA_OPTS environment variable set
that includes the following:
" -Dlog4j.properties.file=<TOMCAT>/webapps/ogsa/WEB-INF/classes/log4j.properties "
where <TOMCAT> is the root directory of your Tomcat distribution.
For example, under UNIX:
export
CATALINA_OPTS="$CATALINA_OPTS -Dlog4j.properties.file=<TOMCAT>/webapps/ogsa/WEB-INF/classes/log4j.properties"
For example, under Windows:
set
CATALINA_OPTS="%CATALINA_OPTS% -Dlog4j.properties.file=<TOMCAT>/webapps/ogsa/WEB-INF/classes/log4j.properties"
The logging information will appear in the file
<TOMCAT>/logs/catalina.out
Regards
mike
- Next message: neil p chue hong: "Re: building from source rel 2.5"
- Previous message: M.Jackson: "Re: adding new porttype to Grid Data Service"
- In reply to: Gurmeet Singh: "enabling logging"