In my /etc/syslog.d/ftp.conf file, I got a line like:
It works fine, however, syslogd(8) still logs the debug of the ftpd in default "debug.log" file.
My question is, how to prevent syslogd logging ftpd's debug, into its default debug.log file, but let ftp.debug to be logged ONLY into my specific fdeb.log file like above?
I need that because both my fdeb.log and debug.log get filled with the same info.
Perhaps it's due to this line in syslog.conf:
I'm aware that commenting that line out would solve it, but that would stop debug-logging on every services, I guess. How to specifically stop it for ftpd?
Thanks in advance.
Code:
ftp.debug /var/log/fdeb.log
My question is, how to prevent syslogd logging ftpd's debug, into its default debug.log file, but let ftp.debug to be logged ONLY into my specific fdeb.log file like above?
I need that because both my fdeb.log and debug.log get filled with the same info.
Perhaps it's due to this line in syslog.conf:
Code:
*.=debug /var/log/debug.log
Thanks in advance.