On Thu, Feb 20, 2020 at 01:55:33AM +0000, Jamal Habash wrote:
Hey All,
I am interested in developing a Java destination for syslog-ng. I have read the documentation which states "To interface with syslog-ng, you will need to extend the TextLogDestination or StructuredLogDestination".
that sounds like a really bad idea
There is no documentation or code comments for either of these classes.
1) What is the intended use-case for TextLogDestination? 2) What is the intended use-case for StructuredLogDestination?
Additionally, as there are no comments in the code, it is unclear what the abstract methods in these classes are meant to do. For example, each class has the same abstract methods called open(), close(), isOpened(), getNameUniqOptions().
3) What is the purpose of these methods? 4) When will they be invoked by syslog-ng?
It seems to me it is written in C.. am I wrong here?
It is difficult to write a valid implementation without knowing the purpose of each method. Is there any documentation for this?
Thanks in advance!
J
______________________________________________________________________________ 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
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and extermination camps, but incompatible with living as a free human being. -RI Safir 2013