How to get NewLines in Email Text ?

2003-11-10 Thread Mandar Mangalvedhekar
Hi, I need to send formatted message in email. I am using SMTPAppender and using System.getProperty("line.seperator") to get newline characters. However the email text does not contain newline characters as expected in all the lines. The same text message is written correctly (including newli

RE: Having mixed loggers in log4j.xml ?

2003-11-10 Thread Mandar Mangalvedhekar
s the message filter. It can then be set in your config file by specifying the class name in a param called EvaluatorClass. Best of Luck, Ken Hoying --- Mandar Mangalvedhekar <[EMAIL PROTECTED]> wrote: > Yes, I need to send email messages for level INFO > > I have set the thr

RE: Having mixed loggers in log4j.xml ?

2003-11-10 Thread Mandar Mangalvedhekar
[mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 12:41 PM To: Log4J Users List Subject: RE: Having mixed loggers in log4j.xml ? The SMTPAppender only send email by default for messages of level error or higher. Are you trying to email log messages of a lower level than this? --- Mand

RE: Having mixed loggers in log4j.xml ?

2003-11-10 Thread Mandar Mangalvedhekar
class name. Of course, if you don't actually have anything that does Logger logger = Logger.getLogger("StringLogger") in your code, the StringLogger will never be used and thus is meaningless in the configuration ;) Yoav Shapira Millennium ChemInformatics >-Origina

Having mixed loggers in log4j.xml ?

2003-11-10 Thread Mandar Mangalvedhekar
Hi, Can we have a mixture of loggers in log4j.xml file ? Some of the loggers are actual classes in the application a.b.c.Test.class ... while some others are plain strings .. Is this allowed ? Thanks Mandar

How to use LevelMatch in Appenders

2003-10-29 Thread Mandar Mangalvedhekar
Hi, I am trying to find out how I can use LevelToMatch and AcceptOnMatch in Appenders. Can anyone please post some sample log4j.xml file snippet ? Thanks Mandar

Using SMTPAppender to attach files

2003-10-29 Thread Mandar Mangalvedhekar
Hi, Is it possible to attach files using SMTpAppender ? Thanks Mandar