Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

syslog & remote logging

Status
Not open for further replies.

superstarjpmc

Programmer
Jan 22, 2004
38
US
All:
Query:

I want to log syslog events ( of particular facitly/priority ) to a localhost ( loghost ) and a remote host..

a) how to do this

b) should i make a syslog config change on the remote host to accept syslog events ?

c) can i write to the LOCAL-HOST into /var/adm/messages and in the remote host into /var/adm/remote/messages ?

any help much appreciated.

regs
david
 
hi - do we need to start syslog with any special options to enable syslogging ?

user.debug @<my-host> .. i have given this entry in the localhost ..but it doesnt seem to like it.. and its not working..
 
One thing to watch out for, you must use tabs instead of spaces in syslog.conf. I don't think any special options are required.

I can't see a way that you can filter remote and local messages into separate files.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top