Re: STRUTS LOG4J

2003-11-21 Thread Christian Bollmeyer
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

RE: STRUTS LOG4J

2003-11-21 Thread shirishchandra.sakhare
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

STRUTS LOG4J

2003-11-21 Thread Todor Sergueev Petkov
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

Re: common-logging, Struts, Log4j

2003-06-26 Thread rablists
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

Re: common-logging, Struts, Log4j

2003-06-26 Thread Dan Tran
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

Re: common-logging, Struts, Log4j

2003-06-26 Thread Markus Holzem
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

RE: common-logging, Struts, Log4j

2003-06-26 Thread Pingili, Madhupal
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

RE: common-logging, Struts, Log4j

2003-06-26 Thread Michael Remijan
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

common-logging, Struts, Log4j

2003-06-26 Thread rablists
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

Re: struts & log4j

2003-02-13 Thread Dinesh Sampangi
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

RE: struts & log4j

2003-02-13 Thread Mohan Radhakrishnan
( 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

Re: struts & log4j

2003-02-13 Thread Dinesh Sampangi
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

Re: struts & log4j

2003-02-13 Thread Nicolas De Loof
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

Re: struts & log4j

2003-02-13 Thread Simon Kelly
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

RE: struts & log4j

2003-02-13 Thread Mohan Radhakrishnan
: 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

Re: struts & log4j

2003-02-13 Thread Dinesh Sampangi
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

AW: struts & log4j

2003-02-13 Thread Juraj . Lenharcik
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

Re: struts & log4j

2003-02-13 Thread Simon Kelly
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

AW: struts & log4j

2003-02-13 Thread Juraj . Lenharcik
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!

struts & log4j

2003-02-13 Thread Dinesh Sampangi
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

Re: Struts & log4j

2002-12-05 Thread Aladar The Dinosaur
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

Struts & log4j

2002-12-05 Thread Aladar The Dinosaur
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