remove passwords from input file sent to log