[syslog-ng] Syslog-ng and External variables

Robert Blayzor rblayzor.bulk at inoc.net
Mon Aug 29 19:40:40 CEST 2016


Makes sense, and it does work as intended. I also managed to stumble across the “$LOGHOST” macro as well, that does exactly the same thing.

Unfortunately I was digging through the docs in the wrong place. “hostname” never found it… :(

--
Robert
inoc.net!rblayzor
XMPP: rblayzor.AT.inoc.net
PGP Key: 78BEDCE1 @ pgp.mit.edu




> On Aug 29, 2016, at 12:19 PM, Evan Rempel <erempel at uvic.ca> wrote:
> 
> It is done only once when the configuration file is evaluated.
> I think it is obvious that the rewrite is done every time :-)



More information about the syslog-ng mailing list