[jira] [Updated] (LOG4J2-355) Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message

2013-09-04 Thread Tibor Benke (JIRA)

 [ 
https://issues.apache.org/jira/browse/LOG4J2-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tibor Benke updated LOG4J2-355:
---

Attachment: eventPrefix_behaviour_demo_testcase.patch

> Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message
> -
>
> Key: LOG4J2-355
> URL: https://issues.apache.org/jira/browse/LOG4J2-355
> Project: Log4j 2
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: 2.0-beta9
>Reporter: Tibor Benke
> Fix For: 2.0-beta9
>
> Attachments: add_multime_SD_ELEMENT_support.diff, 
> eventPrefix_behaviour_demo_testcase.patch, LOG4J2-355_v2.patch, 
> LOG4J2-355_v3.patch, LOG4J2-355_v4.patch
>
>
> The patch contains the modifications to support the feature and I also 
> refactored some code in the RFC5424Layout.java file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Updated] (LOG4J2-355) Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message

2013-09-04 Thread Tibor Benke (JIRA)

 [ 
https://issues.apache.org/jira/browse/LOG4J2-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tibor Benke updated LOG4J2-355:
---

Attachment: LOG4J2-355_v4.patch

I solved the bug and attached the new (and hopefully last) patch 
(LOG4J2-355_v4.patch).

> Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message
> -
>
> Key: LOG4J2-355
> URL: https://issues.apache.org/jira/browse/LOG4J2-355
> Project: Log4j 2
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: 2.0-beta9
>Reporter: Tibor Benke
> Attachments: add_multime_SD_ELEMENT_support.diff, 
> LOG4J2-355_v2.patch, LOG4J2-355_v3.patch, LOG4J2-355_v4.patch
>
>
> The patch contains the modifications to support the feature and I also 
> refactored some code in the RFC5424Layout.java file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Updated] (LOG4J2-355) Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message

2013-09-04 Thread Tibor Benke (JIRA)

 [ 
https://issues.apache.org/jira/browse/LOG4J2-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tibor Benke updated LOG4J2-355:
---

Attachment: LOG4J2-355_v3.patch

I updated the patch (LOG4J2-355_v3.patch) to the current trunk version.

> Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message
> -
>
> Key: LOG4J2-355
> URL: https://issues.apache.org/jira/browse/LOG4J2-355
> Project: Log4j 2
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: 2.0-beta9
>Reporter: Tibor Benke
> Attachments: add_multime_SD_ELEMENT_support.diff, 
> LOG4J2-355_v2.patch, LOG4J2-355_v3.patch
>
>
> The patch contains the modifications to support the feature and I also 
> refactored some code in the RFC5424Layout.java file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Updated] (LOG4J2-355) Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message

2013-08-30 Thread Tibor Benke (JIRA)

 [ 
https://issues.apache.org/jira/browse/LOG4J2-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tibor Benke updated LOG4J2-355:
---

Attachment: LOG4J2-355_v2.patch

I added a "discardIfAllFieldsAreEmpty" boolean attribute to LoggerFields, so if 
all fields are empty during the evaluation in the RFC5424Layout, one can 
control that this SD-ELEMENT should be discarded or not.

> Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message
> -
>
> Key: LOG4J2-355
> URL: https://issues.apache.org/jira/browse/LOG4J2-355
> Project: Log4j 2
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: 2.0-beta9
>Reporter: Tibor Benke
> Attachments: add_multime_SD_ELEMENT_support.diff, LOG4J2-355_v2.patch
>
>
> The patch contains the modifications to support the feature and I also 
> refactored some code in the RFC5424Layout.java file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



Re: [jira] [Updated] (LOG4J2-355) Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message

2013-08-17 Thread Ralph Goers
Me

Sent from my iPhone

On Aug 17, 2013, at 9:48 AM, Gary Gregory  wrote:

> Who knows enough about RFC 5424 to check on this patch?
> 
> Gary
> 
> 
> On Fri, Aug 16, 2013 at 11:50 AM, Tibor Benke (JIRA)  wrote:
>> 
>>  [ 
>> https://issues.apache.org/jira/browse/LOG4J2-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>>  ]
>> 
>> Tibor Benke updated LOG4J2-355:
>> ---
>> 
>> Attachment: add_multime_SD_ELEMENT_support.diff
>> 
>> > Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message
>> > -
>> >
>> > Key: LOG4J2-355
>> > URL: https://issues.apache.org/jira/browse/LOG4J2-355
>> > Project: Log4j 2
>> >  Issue Type: Improvement
>> >  Components: Core
>> >Affects Versions: 2.0-beta9
>> >Reporter: Tibor Benke
>> > Attachments: add_multime_SD_ELEMENT_support.diff
>> >
>> >
>> > The patch contains the modifications to support the feature and I also 
>> > refactored some code in the RFC5424Layout.java file.
>> 
>> --
>> This message is automatically generated by JIRA.
>> If you think it was sent incorrectly, please contact your JIRA administrators
>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>> 
>> -
>> To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
>> For additional commands, e-mail: log4j-dev-h...@logging.apache.org
> 
> 
> 
> -- 
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory


Re: [jira] [Updated] (LOG4J2-355) Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message

2013-08-17 Thread Gary Gregory
Who knows enough about RFC 5424 to check on this patch?

Gary


On Fri, Aug 16, 2013 at 11:50 AM, Tibor Benke (JIRA) wrote:

>
>  [
> https://issues.apache.org/jira/browse/LOG4J2-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Tibor Benke updated LOG4J2-355:
> ---
>
> Attachment: add_multime_SD_ELEMENT_support.diff
>
> > Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message
> > -
> >
> > Key: LOG4J2-355
> > URL: https://issues.apache.org/jira/browse/LOG4J2-355
> > Project: Log4j 2
> >  Issue Type: Improvement
> >  Components: Core
> >Affects Versions: 2.0-beta9
> >Reporter: Tibor Benke
> > Attachments: add_multime_SD_ELEMENT_support.diff
> >
> >
> > The patch contains the modifications to support the feature and I also
> refactored some code in the RFC5424Layout.java file.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
> -
> To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-dev-h...@logging.apache.org
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition 
Spring Batch in Action 
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory


[jira] [Updated] (LOG4J2-355) Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message

2013-08-16 Thread Tibor Benke (JIRA)

 [ 
https://issues.apache.org/jira/browse/LOG4J2-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tibor Benke updated LOG4J2-355:
---

Attachment: add_multime_SD_ELEMENT_support.diff

> Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message
> -
>
> Key: LOG4J2-355
> URL: https://issues.apache.org/jira/browse/LOG4J2-355
> Project: Log4j 2
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: 2.0-beta9
>Reporter: Tibor Benke
> Attachments: add_multime_SD_ELEMENT_support.diff
>
>
> The patch contains the modifications to support the feature and I also 
> refactored some code in the RFC5424Layout.java file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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