You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Ravi Chekuri <Ra...@bri.com> on 2002/04/11 01:53:47 UTC
IPlanet Application Servers & log4j
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
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: IPlanet Application Servers & log4j
Posted by James Stauffer <st...@gmail.com>.
If you can put log4j.properties in the classpath it should work.
On 2/6/07, Farooq Shaikh <fa...@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
Re: IPlanet Application Servers & log4j
Posted by Farooq Shaikh <fa...@icicletech.com>.
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