Yeah, well. HOSTNAME would be ambigious, as we do have a $HOST macro, which is actually the sender and not the server. -- Bazsi On Mon, Aug 29, 2016 at 7:40 PM, Robert Blayzor <rblayzor.bulk@inoc.net> wrote:
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@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 :-)
____________________________________________________________ __________________ 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