Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
22.7k views
in Java FTP by
Why cant I turn logging off

tried with cmd : Logger.setLevel(Level.OFF)

but still gets this to console:
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 23 jun 2004 17:38:18.546 : 220 Blue Coat Ftp Service.
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 23 jun 2004 17:38:18.546 : ---> USER username
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 23 jun 2004 17:38:29.311 : 331 Password required for username.
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 23 jun 2004 17:38:29.311 : ---> PASS ********
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 23 jun 2004 17:38:29.581 : 230 User username logged in.
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 23 jun 2004 17:38:29.581 : ---> PASV



any ideas?

16 Answers

0 votes
by
Hi there,

I'm having the same trouble. Thanks for the workaround. Looking forward to the update :)

This is the 4th FTP implementation that I've tried and this one actually WORKS :D

Thanks for all the effort in creating a great product.
0 votes
by (161k points)
We've just fixed the bug and hope to have 1.4.1 released later today (Friday).

Hi there,

I'm having the same trouble. Thanks for the workaround. Looking forward to the update :)

This is the 4th FTP implementation that I've tried and this one actually WORKS :D

Thanks for all the effort in creating a great product.
0 votes
by (161k points)
1.4.1 has been released and fixes the log level bug. See the website.

We've just fixed the bug and hope to have 1.4.1 released later today (Friday).
0 votes
by (300 points)
It sounds like you're saying that I should (must?) wait until I construct the FTPClient to set the log level...? As noted in a separate topic, this means that I miss the initial connection messages from the server, specifically the one that usually identifies what server software is running. Also, is it possible to set different logging levels for multilpe instances of FTPClient?

Thanks!
0 votes
by (161k points)
It is best to set the log level before doing anything else.

Like log4j, you can't set different logging levels for different instances.

It sounds like you're saying that I should (must?) wait until I construct the FTPClient to set the log level...? As noted in a separate topic, this means that I miss the initial connection messages from the server, specifically the one that usually identifies what server software is running. Also, is it possible to set different logging levels for multilpe instances of FTPClient?

Thanks!
0 votes
by (300 points)
Thanks, I just wanted to make sure I wasn't making any gross errors.

Categories

...