// — never log these —
log.info({ body: request.body }, "Login attempt"); // may contain password
log.info({ headers: request.headers }, "Request received"); // may contain auth tokens
log.info({ user }, "User authenticated"); // may contain email, personal data

// — log these instead —
log.info({ userId: user.id }, "User authenticated"); // only the opaque ID
log.info({ path: req.path, method: req.method }, "Login attempt"); // no body
