On 01/18/2011 07:57 AM, Rainer Gerhards wrote:
I could check out the source but it might be faster if someone familiar
with the code base could tell me what the algorithm for evaluating
%HOSTNAME% is. I am pretty sure you are right that the evaluation on
the
node is failing. If there is a specific syscall it's using I can
probably just go on that for more troubleshooting.
I still do not know the exact details of your problem, but I assume that you
have some v1 senders pulling data from the local socket and sending it to a
remote end.
Usually I look at v1 only in paid support cases -- it is *really, really*
old. Anyhow, I dug a copy out (not even easy to find as we didn't had git in
these old ages) and had a quick glimpse at it. As it looks, v1 always strips
off the domain part (1.0.5, msg,c, around line 2400). I may be wrong, but
honestly I don't intend to dig any deeper into that ancient code base. So if
sticking with it is very important for you, you should probably read the code
yourself. If it is so urgent that you really need to have someone fix that
problem, I suggest to have a look at our professional support offerings ;)
Rainer
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com
Thanks for the effort Rainer, which I kind of thought would be a problem
however this is still happoening when I force -c4 on node and server...
here's another question, if i do preservefqdn, will the node show fqdn
even logging to itself?
--
--
Joe McDonagh
Operations Engineer
AIM: YoosingYoonickz
IRC: joe-mac on freenode
"When the going gets weird, the weird turn pro."
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com