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

RE: STRUTS LOG4J

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

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

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

RE: common-logging, Struts, Log4j

2003-06-26 Thread Michael Remijan
); 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-logging, Struts, Log4j Hi. I

RE: common-logging, Struts, Log4j

2003-06-26 Thread Pingili, Madhupal
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 anyone can help me little bit

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

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 have problem in using the common

Re: common-logging, Struts, Log4j

2003-06-26 Thread rablists
if there is anything written before you check rolling file permissions etc. Hope this helps. Reddy Original Message- From: rablists [SMTP:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 8:51 AM To: [EMAIL PROTECTED] Subject:common-logging, Struts, Log4j Hi. I

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

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! All

Re: struts log4j

2003-02-13 Thread Simon Kelly
: 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 action class..the action path is not forwarded..instead

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 following

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 log4j should be written as private transient

RE: struts log4j

2003-02-13 Thread Mohan Radhakrishnan
To: 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 [EMAIL PROTECTED

Re: struts log4j

2003-02-13 Thread Simon Kelly
=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, 2003 10:44 AM Subject: Re: struts log4j hi! it doesn't to have any

Re: struts log4j

2003-02-13 Thread Nicolas De Loof
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 when i create a log4j instance inside( private final static Logger log

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 is a copy of the mail that was sent to me

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 developpement tool

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, 2003 4:03 PM Subject: RE: struts log4j Hi

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