logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: IPlanet Application Servers & log4j
Date Wed, 07 Feb 2007 14:32:44 GMT
If you can put log4j.properties in the classpath it should work.

On 2/6/07, Farooq Shaikh <farooq.shaikh@icicletech.com> wrote:
> Ravi Chekuri <Ravi.Chekuri <at> bri.com> writes:
>
> >
> > Hi,
> >
> > I'm trying to use log4j for logging information from EJB's.
> > I'm using a SimpleSocketServer program provided with
> > log4j and trying to write information to that socket.
> > The configuration file log4j.properties has details about
> > the port & ip_address on which the SimpleSocketServer program
> > is running. The problem i'm facing here is that
> > WHERE & HOW DO I SPECIFY IN IAS ABOUT THE LOCATION OF
> > log4j.properties file ??.
> > I was able to write information to the SimpleSocketServer
> > from a standalone java application by starting it
> > using the command
> > java -Dlog4j.configuration=C:\log4j.properties
> >
> > How do i accomplish the same thing when using IPlanet
> > Application Server and trying to use log4j from EJB's
> >
> > Any help is appreciated ...
> >
> > thanks,
> > Ravi Chekuri
> >
>
>
> Dear Ravi,
>
> I am facing the same problem with IPlanet 6.0 for log4j.properties
> configuration.
> If you already resolved this issue then please guide me to resolve it.
>
> Reagrds,
> Farooq Shaikh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message