replace password in log file