logging external messages with syslogd
I try to set up syslogd on my linuxbox, so i could collect messages generated by my router.
The router is set up to sent all messages to the IP 192.168.0.84 (which is the linuxbox running debian potato).
I edited the /etc/init.d/sysklogd script and inserted the "-r" option to enable external logging. Now all messages from the router are written into /var/log/syslog.
instead of that i would like to have this:
- all messages from the router should be written into /var/log/router/creation date.log
- for each day the log file should be saved into a separate file with the date of its creation.
I have read the manual page from syslogd, but it was not helpful to me.
Is somebody out there who could give me some advice how i can modify the /etc/syslog.conf ?
Thank you in advance.