Syslog Configuration (Solaris 7)

Syslog Configuration (Solaris 7)

Post by Jefferson Ogat » Sun, 18 Mar 2001 01:30:23




> I have a couple of Solaris 2.7 boxes. On one of the boxes I have a custom
> application logging local1.notice to another box.


> On the the 167.107.xxx.xxx box I have two lines that apply

> *.notice                                /var/adm/messages.notice
> local1.notice                           /var/adm/application.log

> Syslog is forwarding the log messages to the 167.107 host as the messages
> are being recorded in /var/adm/messages.notice. For some reason nothing is
> ever logged in /var/adm/application.log.

Are you sure that /var/adm/application.log existed before you last restarted
syslogd? Are you sure you are using only tabs in syslog.conf and no spaces? Did
you check /var/adm/messages for error messages from syslogd?

Quote:> Is it possible to redirect to another server for local1 and then direct
> local1.notice to a seperate log.

> Ideally I would like to have five hosts use local1.notice to send log
> information to the 167.107 host in a log for the specific application.

There's no reason that shouldn't work.

--
Jefferson Ogata : Internetworker, Antibozo


 
 
 

Syslog Configuration (Solaris 7)

Post by Brian Rut » Sat, 17 Mar 2001 03:50:49


I have a couple of Solaris 2.7 boxes. On one of the boxes I have a custom
application logging local1.notice to another box.


On the the 167.107.xxx.xxx box I have two lines that apply

*.notice                                /var/adm/messages.notice
local1.notice                           /var/adm/application.log

Syslog is forwarding the log messages to the 167.107 host as the messages
are being recorded in /var/adm/messages.notice. For some reason nothing is
ever logged in /var/adm/application.log.

Is it possible to redirect to another server for local1 and then direct
local1.notice to a seperate log.

Ideally I would like to have five hosts use local1.notice to send log
information to the 167.107 host in a log for the specific application.

Thanks,
Brian