Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
9.7k views
in Java FTP by (600 points)
In version 1.1.0 (edtFTPj/SSL), is there a logging level that corresponds to outputting just FTP traffic (DEBUG is too much, and WARN is not enough). I'm looking for just the following, not all the SSL related traffic as well.

> PASV
> RETR test.txt
...

Thanks,
Steve

6 Answers

0 votes
by
Try INFO

In version 1.1.0 (edtFTPj/SSL), is there a logging level that corresponds to outputting just FTP traffic (DEBUG is too much, and WARN is not enough). I'm looking for just the following, not all the SSL related traffic as well.

> PASV
> RETR test.txt
...

Thanks,
Steve
0 votes
by
Sorry, INFO won't work. You need DEBUG, so you can't separate them. If you are on Unix you can just grep the log file for FTPControlSocket.

You can however set a System property:

edtftp.log.puretls.level=0

and this should switch off SSL logging


Try INFO

In version 1.1.0 (edtFTPj/SSL), is there a logging level that corresponds to outputting just FTP traffic (DEBUG is too much, and WARN is not enough). I'm looking for just the following, not all the SSL related traffic as well.

> PASV
> RETR test.txt
...

Thanks,
Steve
0 votes
by
We are currently updating the Developer's Guide with a section on using the new logging feature released in edtFTPj/SSL 1.1.0 - out soon.
0 votes
by (600 points)
Thanks for the quick responses. Setting "edtftp.log.puretls.level" helps and gets me basically what I need with a little additional info. A section in the dev guide would also be welcome.

Thanks,
Steve
0 votes
by
The latest edtFTPj/SSL developer's guide has a detailed section on the logging API.

See http://www.enterprisedt.com/products/ed ... vguide.pdf

Note too that this logging API will be available in the next release of edtFTPj. probably labelled 1.4.0.

Thanks for the quick responses. Setting "edtftp.log.puretls.level" helps and gets me basically what I need with a little additional info. A section in the dev guide would also be welcome.

Thanks,
Steve
0 votes
by (600 points)
Thanks again for the update. I've downloaded the guide and taken a quick look. The logging section looks good.

Thanks,
Steve

[quote="support"]The latest edtFTPj/SSL developer's guide has a detailed section on the logging API.

See http://www.enterprisedt.com/products/ed ... vguide.pdf

Note too that this logging API will be available in the next release of edtFTPj. probably labelled 1.4.0.

[quote="reichesf"]Thanks for the quick responses. Setting "edtftp.log.puretls.level" helps and gets me basically what I need with a little additional info. A section in the dev guide would also be welcome.

Thanks,
Steve[/quote][/quote]

Categories

...