[syslog-ng] Java Destination Method Documentation

Jamal Habash jamal.habash at 165gc.onmicrosoft.com
Thu Feb 20 01:55:33 UTC 2020


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".

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 is difficult to write a valid implementation without knowing the purpose of each method. Is there any documentation for this?

Thanks in advance!

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20200220/8c88b026/attachment.html>


More information about the syslog-ng mailing list