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
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]
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
.
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
.
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
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
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
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
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
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
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
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
12 matches
Mail list logo