[syslog-ng]chain_hostname(yes) complicates use of $HOST

John A. Parker jap54@cornell.edu
Mon, 25 Sep 2000 10:16:09 -0400


Bazsi,

>The code you changed affects only the hostname part of the loglines written
>to files. If you intend to change the parsed hostname value you should
>change msg->host, which is a struct ol_string *.
>
>If you intend to change the way syslog-ng parses log messages you may be
>interested in the parse_log_msg function in log.c.

Thanks for your review! I think syslog-ng is a great product and have no 
need for modification beyond fixing (from my perspective) the way host 
names are parsed. I would like to clarify that more importantly to me than 
changing the message that is logged, my alteration changes the value 
syslog-ng uses when creating a log file (effects the value of $HOST).

John

---

John A. Parker        Senior Programmer/Analyst - AIX      Cornell University
jap54@cornell.edu   607-255-9356  607-255-8521 (Fax)