syslogd & ftpd


I try to move the messages from ftpd into a separate log file.

Here is my /etc/syslog.conf file:

The file must exist for logging to occur!!

mail.* /var/log/maillog
ftp.* /var/log/ftpd.log
. /var/log/syslog

I created all file using “touch”, and restarted syslogd.

But the messages from ftpd comes again into the file “syslog”.

What make I wrong ?
How came I from “LOG_FTP” to “ftp.*” ?

Best regards


I don’t think there is a log facility called LOG_FTP.

Check the document.

Hello noc,

I am very new to the syslog commands.

In the help of “ftpd” it is called “LOG_FTP” at the option “-l”.

Is it not possible to move the ftp messages into a separate file ?

Thank you very much for your help !

Best regards


What version of QNX? post “uname -a”.

It is QNX 6.2.1B.

Sorry I misread your original post. I thought you tried to code your program to use syslog’s LOG_FTP facility.

Back to your question, LOG_FTP is a non standard facility and not all Unix/version supports it. If you check the QNX 6.1 ftpd document, you will see LOG_FTP is not mentioned, but QNX 6.2.1 ftpd document does mention it. I think it is a documen error. Or maybe QNX planned to support it in QNX 6.2.0 but dumped the idea in the actual release, which leaves an inacurate document.

I checked with the developer, and it’s a bug. He’s creating a PR for it.