Hello,

I would like to keep track of broken uploads (stored files) in terms "upload
is broken if an exception is thrown during the upload". But exceptions are
logged uder level DEBUG, which is quite confusing for me.

For example the STOR command:

- the STOR logger is configured to print only INFO and higher levels
- I'm uploading file abc.txt
- the log sais LOG.info("File upload : " + userName + " - " + fileName) ->
File upload : userxy - abc.txt
- an exception is throws, for example IOException
- the log sais LOG.debug("IOException during data transfer", ex) ->
silence....
- the file is not uploaded
- but I have no notice about it in the log and I don't know the reason why
the file is lost
- I don't need successful uploaded files logged

I thing, no, I believe that exceptions are not debugging messages. What do
you think?

Regards,
Jiří Kuhn.

Reply via email to