Hello Gokul,

thanks, i took care about this.
There is an error event, which is logged by console and file appender.

[2013-07-31 10:36:28,923] ERROR [FtpClient.connect]connect: Address is invalid on local machine, or port is not valid on remote machine (FtpClient.java#connect:65)



cheers
Stefan


Zitat von gokulvsmail <[email protected]>:

By default behavior log4j will only send the log messages when a ERROR event is happening.
For testing try by create some error loggs.

gokul

On Wednesday 31 July 2013 03:23 PM, [email protected] wrote:
Hello,

i configured an smtp appender to get log messages by email.
Console and File Appenders work well, but the smtp appender seems not to do anything.

Any ideas ? How can i debug this, i didn“t get any error messages from log4j ?

LOG4J Configuration:

log4j.appender.email=org.apache.log4j.net.SMTPAppender
log4j.appender.email.Threshold=DEBUG
log4j.appender.EMAIL.SMTPDebug=true
log4j.appender.email.SMTPHost=127.0.0.1
[email protected]
[email protected]
log4j.appender.email.Subject=IBOXX_KURSE_CHECK_ERROR
log4j.appender.email.BufferSize=512
log4j.appender.email.layout=org.apache.log4j.PatternLayout
log4j.appender.email.layout.ConversionPattern=%m


cheers
Stefan



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to