[syslog-ng] replacing log statements

Fabien Wernli wernli at in2p3.fr
Wed Mar 6 09:40:08 UTC 2019


On Tue, Mar 05, 2019 at 09:20:37PM +0100, Várady, László wrote:
> Hi,
> 
> "allow-config-dups" allow to replace some objects. As I understand
> > log objects cann't have identifier and cann't be replaced therefore.
> > Is it true or I wrong? It would be nice to be able to replace log
> > object also.
> >
> >
> That is correct. You can think of a "log" block as an operation (not really
> an object) that links objects together, creating a path (a directed acyclic
> graph). They have no identifiers though.

I also think named log statements would make sense.
At the very least, they would add clarity to config files, and could help
identify duplicates.



More information about the syslog-ng mailing list