Technically you'd also need to rewrite the logs in a plausible manner (removing the mentions of the PAM module and potentially replacing it with their "normal" equivalents) and depending on your threat model, actually securely erase the files so that disk recovery software can't later restore the deleted files.
If your threat model is someone that will even invest the time to sift through your logs, it might be wise to disable (persistent) logging in the first place.