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

Stefan Bodewig edited comment on LOG4NET-254 at 10/30/11 6:19 AM:
------------------------------------------------------------------

I'm not aware of any log4net specific document, 
http://www.apache.org/dev/contributors.html is the foundation wide one.  It 
looks full of technical details that may hide the pretty simple concepts.

If all you want to do is contribute a new appender then adding the new source 
file to a JIRA issue like this one and checking the checkbox that says 
something along the lines of "I grant the ASF license to redistribute this 
under the Apache Software License" then you are done.  Of course it would be 
great if you could also provide tests and patches to the documentation.

If you plan to stay around for more than this - you are more then welcome - 
then please subscribe to the dev list, join discussions and make yourself 
familiar enough with svn to just jump in. 
                
      was (Author: bodewig):
    I'm not aware of any log4net specific document, 
http://www.apache.org/dev/contributors.html is the foundation wide one.  It 
looks full of technical details that may hide the pretty simple concepts.

If all you want to do is contribute a new appender then adding the new source 
file to a JIRA issue like this one and checking the checkbox that says 
something along the lines of "I grant the ASF license to redistribute this 
under the Apache Software License" then you are done.

If you plan to stay around for more than this - you are more then welcome - 
then please subscribe to the dev list, join discussions and make yourself 
familiar enough with svn to just jump in. 
                  
> [PATCH] Added Snmp V1 Trap Appender
> -----------------------------------
>
>                 Key: LOG4NET-254
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-254
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders
>         Environment: independent
>            Reporter: Thomas Johnson
>             Fix For: 1.2 Maintenance Release
>
>         Attachments: SnmpTrapAppender.cs, SnmpTrapAppender.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Added simple Snmp V1 Trap appender. 
> Properties are based on configuration XML for log4j.  I interpreted 
> ApplicationTrapOID 
> from the log4j appender to mean the ObjectOID for the message variable added 
> to the TrapPDU.
> Uptime ticks PDU element based on time appender class is instantiated.  Could 
> be extended
> to include options for app pool uptime or time since last boot, etc. 4K 
> character limit 
> imposed on message length, extra cares will be truncated.
> Baseline revision: 881070
> New File:
> apache-log4net\src\Appender\SnmpTrapAppender.cs
> Example Config:
>     <appender name="SnmpTrapAppender" 
> type="log4net.Appender.SnmpTrapAppender">
>       <RemoteAddress value="127.0.0.1" />
>       <RemotePort value="162" />
>       <EnterpriseOID value="1.3.6.1.X.X.XXX.X.X" />
>       <ApplicationTrapOID value="1.3.6.1.X.X.XXX.X.X.X.14" />
>       <CommunityString value="public" />
>       <GenericTrapType value="EnterpriseSpecific" />
>       <SpecificTrapType value="16" />
>       <layout type="log4net.Layout.PatternLayout">
>         <conversionPattern value="%message" />
>       </layout>
>     </appender>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to