[syslog-ng]I don't understand chain_hostnames option & why it fixes this problem...
syslog-ng@lists.balabit.hu
syslog-ng@lists.balabit.hu
Wed, 22 Oct 2003 14:46:24 -0700
My little brainless syslog-ng.conf below NEEDS the one option
you see or else the log file will refer to host as
"src@myhostname" instead of just "myhostname".
Please explain a little better what chain_hostnames
does/means and why it fixes this problem.
Is there some other simpler way to fix aforementioned
problem??
options {chain_hostnames(no);};
source src {unix-stream("/dev/log"); pipe("/proc/kmsg"); internal();};
destination dest {file("/var/log/messages");};
log {source(src); destination(dest);};
--
_______________________________________
Christian Seberino, Ph.D.
SPAWAR Systems Center San Diego
Code 2872
49258 Mills Street, Room 158
San Diego, CA 92152-5385
U.S.A.
Phone: (619) 553-9973
Fax : (619) 553-6521
Email: seberino@spawar.navy.mil
_______________________________________