Logging in replacer added, replacer's logic fixed, collecting config files in the log directory added