I am using Apache Commons FTP API on Linux. My logs contains following sensitive information(basically FTP commands fired and response retrieved) which I could not suppress by any means. Displaying password is really unacceptable:-
220 (vsFTPd 2.0.4)
331 Please specify the password.
PASS admin 230 Login successful.
200 Switching to ASCII mode.
227 Entering Passive Mode (159,156,163,210,110,136)
150 Ok to send data.
226 File receive OK.
How to suppress these messages. Is it something to do with Apache API or FTP server issue?
subject: Sensitive Information in logs/ console while FTP