Logserver in solaris 10

Hi Gurus,

I am trying to configure a central server for log, however i am unable to get it work :(.

I did folliwng to configure the same

i entered the loghost entry in /etc/inet/hosts against the server whcih is going to work as logserver.

then i did the changes in /etc/syslog.conf as below

*.err;kern.notice;auth.notice                   ifdef(`LOGHOST`, /dev/console, @loghost)
*.err;kern.debug;daemon.notice;mail.crit        ifdef(`LOGHOST`, /var/adm/messages, @loghost)

and rester the service 

svcadm refresh svc:/system/system-log

After that for test i executed logger -p notice " test from sun2", i cant see any entery in log server. Not sure what else i have to follow.

Please help!

Solaris: Logging to a separate loghost, the easy way | Notes from a Messy Desk

kumarmani,
dont we need to issue the m4 processor command
#/usr/ccs/bin/m4 -D LOGHOST /etc/syslog.conf
#/usr/ccs/bin/m4 /etc/syslog.conf
in both the systems...?

also please tell me how the
logger -p notice "test from sun2: works? and where will this message be seen?
I am familiar with this format ..logger -p <facility.severitylevel> "<message>"
thanks