intel / intel/confidential-computing.tee.dcap
SGXPlatformRegistration: Support no-daemon mode and configurable log file
Open
- Dominant language
- C
- Stars
- 326
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Description
In order to allow integrating the SGXPlatformRegistration service with various Linux systems/process managers it would be nice if it would support a no-daemon mode (to log to stdout) and have a configurable log file (not fixed to `/var/log/mpa_registration.log`). These options could either be passed in as parameters, or in the config file (`/etc/mpa_registration.conf`).
Currently there is no no-daemon option and the `LOG_FILE` is hard-coded:
- https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/11627935938c1f50d1084262c464c54a6e7324a0/tools/SGXPlatformRegistration/common/inc/logger.h#L44
Contributor guide
Assessment
This issue has not been assessed yet.