Hello,

If Linux hostname contains dots "." e.g. an IP address : 192.168.1.1 then
rsyslog prints "192" as hostname in the log messages:

$template MySyslFormat2,"%$YEAR% %timegenerated% *%HOSTNAME%*
%syslogfacility-text% %syslogseverity-text%  %syslogtag%%msg%\n"


2010 Aug 10 09:36:02 *192* kern info  kernel: Kernel logging (proc) stopped.


Is there any way to change the rsyslog behavior to show the full hostname if
it contains dots "."?


Thanks

Joe
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to