troglobit / uftpd

FTP/TFTP server for Linux that just works™
https://troglobit.com/projects/uftpd/
ISC License
182 stars 32 forks source link

Enhance default logging #28

Closed mnhauke closed 4 years ago

mnhauke commented 4 years ago

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

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

troglobit commented 4 years ago

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?

mnhauke commented 4 years ago

https://github.com/troglobit/uftpd/pull/29