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
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
[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
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
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
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
Hi,
Is it possible to attach files using SMTpAppender ?
Thanks
Mandar