Am Freitag, 21. November 2003 15:34 schrieb
[EMAIL PROTECTED]:
> easy pizzy...We are already having the same scenario.
> Don't use the default log4j initialization(which means just putting
> the log4j.properties file in the class path and forget about it.)This
> way you have no control over the i
EMAIL PROTECTED]
Sent: Friday, November 21, 2003 3:29 PM
To: Struts Users Mailing List
Subject: STRUTS LOG4J
Hi everybody... I know that one of the ways to use log4j with struts is
to load a log4j.properties file at servlet container startup...
But what if I have a business layer that has no d
Hi everybody... I know that one of the ways to use log4j with struts is
to load a log4j.properties file at servlet container startup...
But what if I have a business layer that has no direct connection to a
"servlet container" or I want to run some stand-alone tests and
logging... Do I have to h
s [SMTP:[EMAIL PROTECTED]
> > Sent: Thursday, June 26, 2003 8:51 AM
> > To: [EMAIL PROTECTED]
> > Subject:common-logging, Struts, Log4j
> >
> > Hi. I have problem in using the common-logging with struts and
> > Log4j. I am basically lost. I have short ques
Rabih,
You place the properties files at the wrong place. Move them to
WEB-INF/classes
-D
- Original Message -
From: "rablists" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 26, 2003 5:50 AM
Subject: common-logging, Struts, Log4j
> Hi. I
By default the property-files
commons-logging.properties
log4j.properties
are located in the directory WEB-INF/classes
Usually you put them in your workbench in the root of the Java Source
directory. If you build with ant you simply copy them there from your
chosen source directory
Markus
rab
lists [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, June 26, 2003 8:51 AM
> To: [EMAIL PROTECTED]
> Subject: common-logging, Struts, Log4j
>
> Hi. I have problem in using the common-logging with struts and
> Log4j. I am basically lost. I have short questions, I appreciate if
&g
properties");
System.out.println("System.out.println - Log4j URL: " + log4jProps);
// configure log4j
PropertyConfigurator.configure(log4jProps);
Mike
-Original Message-
From: rablists [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 7:51 AM
To: [EMAIL PROTECTED]
Subject: common-lo
Hi. I have problem in using the common-logging with struts and
Log4j. I am basically lost. I have short questions, I appreciate if
anyone can help me little bit. these are the questions with examples:
The file outputfile.log that I specify in
log4j.appender.LOGFILE.File=outputfile.log where it
Hi! mohan,
ok!.. with this configuration can i get user specific log messages??
rgds,
dinesh
- Original Message -
From: "Mohan Radhakrishnan" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, February 13
(
Action.class.getName() );
Isn't it actually this simple ? Others seem to be complex.
Mohan
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 3:58 PM
To: Struts Users Mailing List
Subject: Re: struts & log4j
What developpe
welcome..
anyway thanks for the code ...simon
rgds,
dinesh
- Original Message -
From: "Simon Kelly" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 3:47 PM
Subject: Re: struts & log4j
> Here
quot;Dinesh Sampangi" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, February 13, 2003 9:05 AM
> Subject: struts & log4j
>
>
> Hi! All,
> i'm trying to use log4j in struta application.. but wh
ugIn=ERROR
# Commons Resource
#
log4j.logger.org.apache.struts.util.PropertyMessageResources=ERROR
--> Please note that every classes must begin with log4j.logger
[snip]
- Original Message -
From: "Dinesh Sampangi" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, February 13
: Struts Users Mailing List
Subject: Re: struts & log4j
should be written as
private transient static final Log log =
LogFactory.getLog(xxx.yyy.zzz.class);
Where xxx.yyy.zzz is the full class path with in the package.
Simon
- Original Message -
From: "Dinesh Sampangi" <[EMA
hi!
it doesn't to have any effect.. still the same..
rgds,
dinesh
- Original Message -
From: "Simon Kelly" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 2:14 PM
Subject: Re: struts & l
Betreff: struts & log4j
Hi! All,
i'm trying to use log4j in struta application.. but when i create a log4j
instance inside(
private final static Logger log = Logger.getLogger(PAF3Entity.class)
) strut action class..the action path is not forwarded..instead it throws the
fol
st" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 9:05 AM
Subject: struts & log4j
Hi! All,
i'm trying to use log4j in struta application.. but when i create
a log4j instance inside(
private final static Logger log = Logger.getLogger(PAF3Entity.class)
) strut actio
Hi,
I am not sure did you tried to create the logger without final? I use it only as
statis.
Juraj
-Ursprüngliche Nachricht-
Von: Dinesh Sampangi [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 13. Februar 2003 09:05
An: Struts Users Mailing List
Betreff: struts & log4j
Hi!
Hi! All,
i'm trying to use log4j in struta application.. but when i create a log4j
instance inside(
private final static Logger log = Logger.getLogger(PAF3Entity.class)
) strut action class..the action path is not forwarded..instead it throws the
following at the console.
2003-02-13 0
I got it figured out by perusing log4j mail archive.
I had to set the rootLogger to "Error".
Scott
- Original Message -
From: "Aladar The Dinosaur" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 11:38 PM
Subject: Struts &am
Hi,
I was trying to setup log4j with struts application, and found that struts &
commons were already using it. Basically, the logging works, but I don't
want my application specific logs mingled with struts and some of the other
utilities I'm using. My log4j init file initializes rootLogger and
a
22 matches
Mail list logo