[syslog-ng] Module development guide

Scheidler, Balázs balazs.scheidler at balabit.com
Fri Jan 22 12:43:53 CET 2016


Well, I think libcurl only has a synchronous interface, at least last I've
checked.


-- 
Bazsi

On Fri, Jan 22, 2016 at 11:33 AM, Marc Falzon <m at baha.mu> wrote:

> 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
>
>
>
>
> ______________________________________________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160122/a28ae703/attachment.htm 


More information about the syslog-ng mailing list