tftpd: add --logfile option

Add --logfile to allow logging output to be sent to a specified file.

In listening mode, the file is reopened when SIGHUP is sent; in
non-listening mode this is implicit due to tftpd being restarted.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
6 files changed