[jira] [Commented] (LOG4J2-168) Include arbitrary message fields in RFC-5424 structured data

2013-08-15 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740957#comment-13740957 ] Scott Severtson commented on LOG4J2-168: It currently does not support mult

[jira] [Closed] (LOG4J2-168) Include arbitrary message fields in RFC-5424 structured data

2013-06-12 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson closed LOG4J2-168. -- Tested against revision 1491348, and confirmed to work as expected. Thanks very much

[jira] [Updated] (LOG4J2-168) Include arbitrary message fields in RFC-5424 structured data

2013-06-06 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-168: --- Attachment: include-arbitrary-fields-in-mdc-2.patch Patch which implements the ability to

[jira] [Commented] (LOG4J2-168) Include arbitrary message fields in RFC-5424 structured data

2013-06-06 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677461#comment-13677461 ] Scott Severtson commented on LOG4J2-168: Finally had time to get back to

[jira] [Commented] (LOG4J2-168) Include arbitrary message fields in RFC-5424 structured data

2013-03-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602407#comment-13602407 ] Scott Severtson commented on LOG4J2-168: OK, I'm still just not ge

[jira] [Commented] (LOG4J2-168) Include arbitrary message fields in RFC-5424 structured data

2013-03-08 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13597247#comment-13597247 ] Scott Severtson commented on LOG4J2-168: I'm finally digging back into

[jira] [Commented] (LOG4J2-168) Include arbitrary message fields in RFC-5424 structured data

2013-02-27 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588543#comment-13588543 ] Scott Severtson commented on LOG4J2-168: Oh, I didn't think of this

[jira] [Commented] (LOG4J2-168) Include arbitrary message fields in RFC-5424 structured data

2013-02-27 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588475#comment-13588475 ] Scott Severtson commented on LOG4J2-168: Two questions: 1. Where do the docs

[jira] [Closed] (LOG4J2-158) RFC5424 SD PARAM/VALUE escaping

2013-02-27 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson closed LOG4J2-158. -- Thanks! > RFC5424 SD PARAM/VALUE escap

[jira] [Created] (LOG4J2-168) Include arbitrary message fields in RFC-5424 structured data

2013-02-19 Thread Scott Severtson (JIRA)
Scott Severtson created LOG4J2-168: -- Summary: Include arbitrary message fields in RFC-5424 structured data Key: LOG4J2-168 URL: https://issues.apache.org/jira/browse/LOG4J2-168 Project: Log4j 2

[jira] [Updated] (LOG4J2-168) Include arbitrary message fields in RFC-5424 structured data

2013-02-19 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-168: --- Attachment: include-arbitrary-fields-in-mdc.patch Implement support for arbitrary message

Re: Log4J2 and Tomcat: multiple external config files

2013-02-05 Thread Scott Severtson
iated. Thanks, --Scott On 01/28/2013 01:09 PM, Scott Severtson wrote: I'm still planning to create a test web application to investigate the matter further. We have it working reliably with some web applications, but our primary app is still having problems. Unfortunately, I have other dem

[jira] [Commented] (LOG4J2-161) Using Log4J2 in Tomcat and WebApp results in all messages being sent to Tomcat's logger

2013-02-05 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571792#comment-13571792 ] Scott Severtson commented on LOG4J2-161: FYI, there's no complied class

[jira] [Updated] (LOG4J2-161) Using Log4J2 in Tomcat and WebApp results in all messages being sent to Tomcat's logger

2013-02-05 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-161: --- Attachment: tomcat-6.0.36-log4j2.tar.gz Tomcat pre-configured with Log4J2 and sample web

[jira] [Created] (LOG4J2-161) Using Log4J2 in Tomcat and WebApp results in all messages being sent to Tomcat's logger

2013-02-05 Thread Scott Severtson (JIRA)
Scott Severtson created LOG4J2-161: -- Summary: Using Log4J2 in Tomcat and WebApp results in all messages being sent to Tomcat's logger Key: LOG4J2-161 URL: https://issues.apache.org/jira/browse/LOG4J

[jira] [Closed] (LOG4J2-150) Applet: AccessControlException from System.getProperty(...), Integer.getInteger, and Boolean.getBoolean

2013-02-01 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson closed LOG4J2-150. -- We can verify that Log4J2 can now be safely used in an applet environment

[jira] [Closed] (LOG4J2-146) Log4J 1.2 API implementation ClassCastException with SimpleLoggerContext

2013-02-01 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson closed LOG4J2-146. -- Resolution: Fixed As long as the documentation is clear, I think this can be closed

[jira] [Closed] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-02-01 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson closed LOG4J2-149. -- We can confirm that at least one log message appears in every email

[jira] [Closed] (LOG4J2-121) Syslog appender requires format parameter, inconsistent with documentation

2013-02-01 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson closed LOG4J2-121. -- > Syslog appender requires format parameter, inconsistent with documentat

[jira] [Closed] (LOG4J2-122) Socket/Syslog appenders silently lose first message after socket disconnect

2013-02-01 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson closed LOG4J2-122. -- > Socket/Syslog appenders silently lose first message after socket disconn

Re: Log4J2 and Tomcat: multiple external config files

2013-01-28 Thread Scott Severtson
week. --Scott On 01/28/2013 12:25 PM, Ralph Goers wrote: Did you make any progress with this? Did you try deploying the Log4j 2 jars only to the Tomcat directory? Ralph On Jan 21, 2013, at 11:11 AM, Scott Severtson wrote: FYI, I'm planning on setting up a simple test web application

[jira] [Updated] (LOG4J2-158) RFC5424 SD PARAM/VALUE escaping

2013-01-28 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-158: --- Attachment: RFC5424Layout-escaping-fix.patch Patch to apply RFC-5424 escaping rules to both

[jira] [Created] (LOG4J2-158) RFC5424 SD PARAM/VALUE escaping

2013-01-28 Thread Scott Severtson (JIRA)
Scott Severtson created LOG4J2-158: -- Summary: RFC5424 SD PARAM/VALUE escaping Key: LOG4J2-158 URL: https://issues.apache.org/jira/browse/LOG4J2-158 Project: Log4j 2 Issue Type: Bug

Re: Log4J2 and Tomcat: multiple external config files

2013-01-21 Thread Scott Severtson
7/2013 03:02 PM, Scott Severtson wrote: All, Hmmm... More experimentation has shown that this configuration does not have reliable results. Sometimes on startup, the application-specific messages end up in the Tomcat logs, but not in the application-specific logs. Other times, the messages are ro

RFC5424Layout - include logger in structured data?

2013-01-21 Thread Scott Severtson
Our support team would specifically like to see the logger be included in RFC-5424 structured data, as it is not currently included elsewhere in the output. Would it be appropriate to add a configuration parameter for RFC5424Layout (and SyslogAppender) to specify a PARAM-NAME under which the

Re: Log4J2 and Tomcat: multiple external config files

2013-01-17 Thread Scott Severtson
there some sort of configuration race condition going on? --Scott On 01/17/2013 09:33 AM, Scott Severtson wrote: Ralph, So, based on your response, here's what we've come up with: * Log4J2 .jars deployed to Tomcat's CATALINA_BASE/lib directory * -Dlog4j.configurationFile=/path/to/

Re: Log4J2 and Tomcat: multiple external config files

2013-01-17 Thread Scott Severtson
e each web app with the location of the configuration file. I'm open to suggestions on how to better handle this. Ralph On Jan 10, 2013, at 8:56 AM, Scott Severtson wrote: All, We'd like to replace Tomcat's built-in logging with Log4J2, and are able to do so based on Tomcat's do

[jira] [Commented] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553390#comment-13553390 ] Scott Severtson commented on LOG4J2-149: Maybe. I just checked out a clean

[jira] [Commented] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553359#comment-13553359 ] Scott Severtson commented on LOG4J2-149: The patch was generated against

[jira] [Updated] (LOG4J2-150) Applet: AccessControlException from System.getProperty(...), Integer.getInteger, and Boolean.getBoolean

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-150: --- Attachment: system-properties-access-control-exception-handling.patch Patch to resolve

[jira] [Created] (LOG4J2-150) Applet: AccessControlException from System.getProperty(...), Integer.getInteger, and Boolean.getBoolean

2013-01-14 Thread Scott Severtson (JIRA)
Scott Severtson created LOG4J2-150: -- Summary: Applet: AccessControlException from System.getProperty(...), Integer.getInteger, and Boolean.getBoolean Key: LOG4J2-150 URL: https://issues.apache.org/jira/browse

[jira] [Updated] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-149: --- Attachment: SMTPAppender-always-log-last-event.patch Patch to always log the triggering

[jira] [Commented] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553315#comment-13553315 ] Scott Severtson commented on LOG4J2-149: The only downside with that approac

[jira] [Commented] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553280#comment-13553280 ] Scott Severtson commented on LOG4J2-149: So, we came up with two poss

[jira] [Commented] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552924#comment-13552924 ] Scott Severtson commented on LOG4J2-149: Ralph is correct - the patch doe

[jira] [Commented] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552911#comment-13552911 ] Scott Severtson commented on LOG4J2-149: Probably a question for Ralph - I&#

[jira] [Commented] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552869#comment-13552869 ] Scott Severtson commented on LOG4J2-149: It's re-creating the functiona

[jira] [Comment Edited] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552845#comment-13552845 ] Scott Severtson edited comment on LOG4J2-149 at 1/14/13 4:2

[jira] [Commented] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552845#comment-13552845 ] Scott Severtson commented on LOG4J2-149: But, if .isFiltered returns f

[jira] [Commented] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552816#comment-13552816 ] Scott Severtson commented on LOG4J2-149: It is in the Jav

[jira] [Commented] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552667#comment-13552667 ] Scott Severtson commented on LOG4J2-149: BTW, this issue is *not* hypothet

[jira] [Updated] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-149: --- Attachment: SMTPManager-buffer-synchronization.patch Re-introduce CyclicBuffer

[jira] [Created] (LOG4J2-149) SMTPManager buffer access not synchronized; can result in empty emails

2013-01-14 Thread Scott Severtson (JIRA)
Scott Severtson created LOG4J2-149: -- Summary: SMTPManager buffer access not synchronized; can result in empty emails Key: LOG4J2-149 URL: https://issues.apache.org/jira/browse/LOG4J2-149 Project

[jira] [Commented] (LOG4J2-146) Log4J 1.2 API implementation ClassCastException with SimpleLoggerContext

2013-01-11 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13551188#comment-13551188 ] Scott Severtson commented on LOG4J2-146: For context, we ran into this on ou

[jira] [Created] (LOG4J2-146) Log4J 1.2 API implementation ClassCastException with SimpleLoggerContext

2013-01-11 Thread Scott Severtson (JIRA)
Scott Severtson created LOG4J2-146: -- Summary: Log4J 1.2 API implementation ClassCastException with SimpleLoggerContext Key: LOG4J2-146 URL: https://issues.apache.org/jira/browse/LOG4J2-146 Project

Log4J2 and Tomcat: multiple external config files

2013-01-10 Thread Scott Severtson
All, We'd like to replace Tomcat's built-in logging with Log4J2, and are able to do so based on Tomcat's docs for using Log4J 1.x, and deploying the log4j-1.2-api-2.0-beta4.jar shim. However, we're running into an issue with external configuration... Our webapps are always deployed with exte

Re: Next Log4j 2.0 release

2013-01-08 Thread Scott Severtson
Where do we stand on the 2.0-beta4 release? We're getting ready to roll out Log4J2 to some of our test servers, and I'd like to use an "official" release, rather than my own compile of trunk. We've observed no issues with our relatively recent trunk build. Thanks, --Scott On Tue, Jan 1, 2013 at

[jira] [Commented] (LOG4J2-131) Create SMTPAppender

2013-01-04 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13544268#comment-13544268 ] Scott Severtson commented on LOG4J2-131: Looks good to me! As I was not

[jira] [Closed] (LOG4J2-136) Syslog: Optional escaping of newlines in message body, optionally include stack trace

2013-01-04 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson closed LOG4J2-136. -- > Syslog: Optional escaping of newlines in message body, optionally include > stack

[jira] [Commented] (LOG4J2-136) Syslog: Optional escaping of newlines in message body, optionally include stack trace

2013-01-04 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13544258#comment-13544258 ] Scott Severtson commented on LOG4J2-136: Looks good, and seems to work i

[jira] [Commented] (LOG4J2-137) Build hangs during SMTPAppenderTest

2012-12-28 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540587#comment-13540587 ] Scott Severtson commented on LOG4J2-137: I'm unable to reproduce the

[jira] [Commented] (LOG4J2-131) Create SMTPAppender

2012-12-24 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539305#comment-13539305 ] Scott Severtson commented on LOG4J2-131: 1. I don't believe that a

[jira] [Updated] (LOG4J2-136) Syslog: Optional escaping of newlines in message body, optionally include stack trace

2012-12-22 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-136: --- Description: Syslog (both RFC-3164 and 5424) use newline characters to frame messages. As

[jira] [Updated] (LOG4J2-136) Syslog: Optional escaping of newlines in message body

2012-12-22 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-136: --- Attachment: syslog-escape-newlines-and-include-stack-trace.patch Updated version of the

Re: SMTPAppender work in progress, questions

2012-12-21 Thread Scott Severtson
made to either. FYI, I'll be out of the office after today until the end of the year. So, if there's anything that would block inclusion of either patch in the new beta 4 release, I'd appreciate knowing ASAP! Thanks, --Scott Severtson On 12/21/2012 02:13 PM, Ralph Goers w

[jira] [Updated] (LOG4J2-136) Syslog: Optional escaping of newlines in message body

2012-12-21 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-136: --- Attachment: syslog-escape-newlines.patch Patch against trunk to support escaping newlines in

[jira] [Commented] (LOG4J2-136) Syslog: Optional escaping of newlines in message body

2012-12-21 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538333#comment-13538333 ] Scott Severtson commented on LOG4J2-136: BTW, if you work with rsyslog,

[jira] [Created] (LOG4J2-136) Syslog: Optional escaping of newlines in message body

2012-12-21 Thread Scott Severtson (JIRA)
Scott Severtson created LOG4J2-136: -- Summary: Syslog: Optional escaping of newlines in message body Key: LOG4J2-136 URL: https://issues.apache.org/jira/browse/LOG4J2-136 Project: Log4j 2

[jira] [Updated] (LOG4J2-131) Create SMTPAppender

2012-12-21 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-131: --- Attachment: SMTPAppender.patch A port of Log4J 1.x's SMTPAppender, with significant cl

Re: SMTPAppender work in progress, questions

2012-12-21 Thread Scott Severtson
On 12/21/2012 02:08 AM, Ralph Goers wrote: On Dec 20, 2012, at 5:02 PM, Scott Severtson wrote: I'll see what I can wrap up in the short term, for possible inclusion in beta 4. Sounds great! Code is complete, uses a manager for SMTP Session instances. It has decent unit test cov

Re: SMTPAppender work in progress, questions

2012-12-21 Thread Scott Severtson
2, at 20:02, Scott Severtson wrote: Dumbster How is commons email tested? Gary - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apach

Re: SMTPAppender work in progress, questions

2012-12-20 Thread Scott Severtson
quot; parameter. One final wrinkle - under a debugger, it appears that PluginManager is indeed finding our class, although I'm not entirely sure I follow the plugin loading code. 2. We'd like to have more complete unit test coverage, including verifying that messages are gener

SMTPAppender work in progress, questions

2012-12-20 Thread Scott Severtson
follow the plugin loading code. 2. We'd like to have more complete unit test coverage, including verifying that messages are generated and sent correctly. As such, we'd need to introduce an additional test-time dependency on a mock SMTP server, such as Dumbster. Any concerns with adding yet another test-time dependency? Thanks, --Scott Severtson

[jira] [Closed] (LOG4J2-120) Socket/Syslog appenders throw IOException if destination socket is not open

2012-11-19 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson closed LOG4J2-120. -- Beta 3 appears to resolve this issue. Thanks! > Socket/Syslog appenders th

[jira] [Updated] (LOG4J2-119) Socket/Syslog reconnectionDelay results in constant reconnects

2012-11-15 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-119: --- Priority: Critical (was: Major) > Socket/Syslog reconnectionDelay results in const

[jira] [Created] (LOG4J2-122) Socket/Syslog appenders silently lose first message after socket disconnect

2012-11-15 Thread Scott Severtson (JIRA)
Scott Severtson created LOG4J2-122: -- Summary: Socket/Syslog appenders silently lose first message after socket disconnect Key: LOG4J2-122 URL: https://issues.apache.org/jira/browse/LOG4J2-122

[jira] [Updated] (LOG4J2-122) Socket/Syslog appenders silently lose first message after socket disconnect

2012-11-15 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-122: --- Attachment: TestSilentMessageLossBehavior.java Demonstration app to show the behavior

[jira] [Updated] (LOG4J2-122) Socket/Syslog appenders silently lose first message after socket disconnect

2012-11-15 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-122: --- Attachment: log4j2.xml Sample log4j2.xml configuration file to demonstrate the behavior

[jira] [Created] (LOG4J2-121) Syslog appender requires format parameter, inconsistent with documentation

2012-11-15 Thread Scott Severtson (JIRA)
Scott Severtson created LOG4J2-121: -- Summary: Syslog appender requires format parameter, inconsistent with documentation Key: LOG4J2-121 URL: https://issues.apache.org/jira/browse/LOG4J2-121 Project

[jira] [Updated] (LOG4J2-120) Socket/Syslog appenders throw IOException if destination socket is not open

2012-11-15 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-120: --- Attachment: TestConnectBehavior.java Demonstration app to show the problem. Assumes port

[jira] [Updated] (LOG4J2-120) Socket/Syslog appenders throw IOException if destination socket is not open

2012-11-15 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-120: --- Attachment: log4j2.xml Sample log4j2.xml configuration file to demonstrate the problem

[jira] [Created] (LOG4J2-120) Socket/Syslog appenders throw IOException if destination socket is not open

2012-11-15 Thread Scott Severtson (JIRA)
Scott Severtson created LOG4J2-120: -- Summary: Socket/Syslog appenders throw IOException if destination socket is not open Key: LOG4J2-120 URL: https://issues.apache.org/jira/browse/LOG4J2-120

[jira] [Commented] (LOG4J2-119) Socket/Syslog reconnectionDelay results in constant reconnects

2012-11-15 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498202#comment-13498202 ] Scott Severtson commented on LOG4J2-119: I've attached a demonstration

[jira] [Updated] (LOG4J2-119) Socket/Syslog reconnectionDelay results in constant reconnects

2012-11-15 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-119: --- Attachment: log4j2.xml Sample log4j2.xml configuration file to demonstrate the issue (used

[jira] [Updated] (LOG4J2-119) Socket/Syslog reconnectionDelay results in constant reconnects

2012-11-15 Thread Scott Severtson (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Severtson updated LOG4J2-119: --- Attachment: TestReconnectBehavior.java App to demonstrate the repeated reconnect attempts

[jira] [Created] (LOG4J2-119) Socket/Syslog reconnectionDelay results in constant reconnects

2012-11-15 Thread Scott Severtson (JIRA)
Scott Severtson created LOG4J2-119: -- Summary: Socket/Syslog reconnectionDelay results in constant reconnects Key: LOG4J2-119 URL: https://issues.apache.org/jira/browse/LOG4J2-119 Project: Log4j 2