troglobit/uftpd

Enhance default logging

Closed this issue · 2 comments

In ad-hoc ftp/tftp scenarios it would be nice to also have logging for:

  • requested files, even if those could not be found on the server
  • requested files in case those aren't accessable (insufficient permissions,...)

in non-debug log levels (notice/info).

Good idea! I've intentionally reduced the verbosity until a request like yours.

These events are possibly to be classified as LOG_NOTICE, rather than LOG_INFO which has lower priority. The notice log level is also the default of uftpd, so that would also make sense. A user who don't want these messages could either filter them out in /etc/syslogd.conf or adjust the log-level uftpd is started with to error. What do you think, would you like to submit a patch/pull-request?