changes concerning CONNECTIONS and the PUT (STOR) command are logged as NOTICE
GET (RETR) command and all other commands are logged as INFO
every thing else is logged as DEBUG
internal errors, unix errors and the reaching of unreachable case-branches are logged as NOTICE
success (as long as interesting) and failure of commands are logged as INFO
the debug messages are to used in cooperation with the other levels, so if you want to do debugging, let all messages be put in one file.
* trim-spaces doesn't throw exception on emtpy strings any more
* spawn-thunk in FTPD moved to new procedure
* always catching SOCKET->STRING errors
* log-calls don't produce extra calculations anymore
* consequently logging reply codes
: ----------------------------------------------------------------------
Previously, it tried to write a final reply even into a socket which
had been shut down from the other end. This would terminate the
connection thread and prevent a regular close.
So we introduce an IRREGULAR-QUIT condition for this purpose and guard against EOF better.
Also, revert to not using INTERNET-HOST-ADDRESS-TO-BYTES.