[syslog-ng] Module development guide

Marc Falzon m at baha.mu
Fri Jan 22 11:33:07 CET 2016


Hi Bazsi,  


On Friday 22 January 2016 at 11:28, Scheidler, Balázs wrote:

> not really, but maybe I would read the "official" modules source code instead. and of course you can ask questions on the mailing list. :)


Yes that's what I've started to do, but a proper documentation is preferable, saves time and avoid confusion ;)  

> if you want to create a destination, the easiest is to create a threaded destination, where the output is an independent thread, that can use a synchronous API. Of course this is going to be slower than using an asynchronous implementation, but that usually is good enough,

Thank you for the hint. Given my use case (HTTP destination) I think I'm safe to go with an asynchronous implementation since each request is stateless, no connections/locks involved.

m.
  
>  
> On Fri, Jan 22, 2016 at 11:03 AM, Marc Falzon <m at baha.mu (mailto:m at baha.mu)> wrote:
> > Hi
> >  
> > Is there any documentation on how to develop new syslog-ng module using the native C API, besides reading the incubator modules source code?
> >  
> > Cheers,
> >  
> > m.
> >  
> >  
> > ______________________________________________________________________________
> > Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> > Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> > FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>  
>  
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq





More information about the syslog-ng mailing list