using log4j in a web application

2001-05-11 Thread BillWorker 2i Development Team
Hi! I have just started using log4j. I plan to use it in a web application. My question is do I have to create new instances and set the configuration each time I access it from different places in my web application? For example, I would access it from the jsp page, servlet, beans and other

Re: using log4j in a web application

2001-05-13 Thread BillWorker 2i Development Team
to configure the log4j and accessing it from all the other places I need. -- BillWorker 2i Development Team, Infocom Solutions Pvt. Ltd. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

logging information is not generated in file.

2001-05-19 Thread BillWorker 2i Development Team
Hi, We have been using log4j 1.0 for logging in our web application. We had logged outputs from jsp, servlet and beans. The outputs where sent to console and a file. The configutation is loaded using a auto start servlet. All was working fine, however when we restarted the tomcat server we notic

configuration error

2001-06-09 Thread BillWorker 2i Development Team
. How do I make the email send an email for each log message instead of batch emails? I am using version 1.0.4! -- BillWorker 2i Development Team, Infocom Solutions Pvt. Ltd. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

configuration error

2001-06-10 Thread BillWorker 2i Development Team
. How do I make the email send an email for each log message instead of batch emails? I am using version 1.0.4! -- BillWorker 2i Development Team, Infocom Solutions Pvt. Ltd. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: configuration error

2001-06-11 Thread BillWorker 2i Development Team
hat is the exact behaviour I want %^). I was just not able to explain why the email appender was working and how it was being triggered. Since I was not logging the priority it looked so random! Now, with you explanation it all makes sense! -- BillWorker 2i Development Team

Re: Simple Question

2001-06-11 Thread BillWorker 2i Development Team
As I understand, there is only one log4j instance per JVM and the root category always exists. Please correct me if I am wrong! -- BillWorker 2i Development Team, Infocom Solutions Pvt. Ltd. - To unsubscribe, e-mail: [EMAIL

Re: What appender to use for development?

2001-08-09 Thread BillWorker 2i Development Team
Thomas Tuft Muller wrote: > If not, I have one written in Java. If you want the code you can have it. That sounds nice. Can you mail me the code! Regards, Ashish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

SMTP Host and SMTP appender

2001-09-05 Thread BillWorker 2i Development Team
Hi All, I am logging critical errors in the system using SMTPAppender in log4j. It is working fine. My problem is that I want to send other emails from my system using a different SMTP host than the one used for logging. However, I am not able to do this. Even though I set the smtp host in the p

Re: SMTP Host and SMTP appender

2001-09-05 Thread BillWorker 2i Development Team
Jon Skeet wrote: > Despite my previous comment (ie log4j really *is* broken, and I'll be > patching it) I suspect your code is flawed as well - how are you setting > the smtp host in *your* code? > > Rather than > > Properties props = System.getProperties(); > props.setProperty (...); > > you s

Re: SNMP appender?

2001-10-03 Thread BillWorker 2i Development Team
Hi! I am using joeSNMP library from OpenNMS project. May be you want to have a look. Ashish Shrestha __ Scanned and protected by Inflex http://pldaniels.com/inflex - To unsubscribe, e-mai

Re: SNMP appender?

2001-10-04 Thread BillWorker 2i Development Team
Ceki Gülcü wrote: > Ashish, > > Mark just recently posted code that used joeSNMP. Thanks for the suggestion though. >Ceki > Sorry, didn't realize it. BTW where can I get the code? Ashish Shrestha __ Scanned and protected by Inflex http://pldaniels.com