setting up a syslog server
Hi !
I want to setup a syslog server which stores logs of a another RHEL box to a prespecified file (such as /var/log/PC1.log).
I am able to store remote hosts logs into the default log files of the syslog server (such as /var/log/messages ).
But i want to store them in a file which is specified by me.
What i did to store the logs in the default file in syslog server is just added the following line to the syslog.conf file in the CLIENT (HOST) machine.
*.debug <Tab><Tab> @syslog-server-ip
Then all the logs are stores at var/log/messeges in the syslog server. but i want to store them at /var/log/PC1.log (which was created by me).
thanx for any help
Buddhike G.
|