Better set-uid logging.