You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Erwan LEGELEUX (JIRA)" <ji...@apache.org> on 2015/03/31 11:30:53 UTC

[jira] [Commented] (LOG4J2-549) SMTPAppender send one LogEvent by mail even if bufferSize set to 10

    [ https://issues.apache.org/jira/browse/LOG4J2-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388306#comment-14388306 ] 

Erwan LEGELEUX commented on LOG4J2-549:
---------------------------------------

Sorry, you can close as a duplicate of LOG4J2-252.
Also, I have a request coming from my client. I forgot to mask "from", "host" when I made this ticket.
You made the correction I suppose, but it still have trace in archive : http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/201402.mbox/%3CJIRA.12696929.1393253612858.92258.1393253719905@arcas%3E

Is it possible to change this here too ??

Thank you very much,

Regards,

Erwan

> SMTPAppender send one LogEvent by mail even if bufferSize set to 10
> -------------------------------------------------------------------
>
>                 Key: LOG4J2-549
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-549
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.0-beta9, 2.0-rc1
>            Reporter: Erwan LEGELEUX
>         Attachments: SMTPAppender.java, SMTPManager.java
>
>
> Hello, 
> I am trying to use SMTPAppender like I use it with Log4j v1.
> So I used this : 
> <SMTP name="MAIL" subject="[NOSICA ERROR LOG][${user.name}]ErrorList!! " to="toxxxxx" from="fromxxxxxx" smtpHost="hostxxxxxxx" bufferSize="10"></SMTP>
> with a buffer size of 10. 
> And I receive one mail by event. It appears to do not use this parameter like it does with Log4j v1.
> Also, I thought to use EvaluatorClass property but it seems that you do not maintain this features. 
> Do you think you will put it back in next version ?
> 		
> Thank you very much for all,
> Regards,
> Erwan



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org