-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PAL/Linux-SGX] Log invalid search domains/hostname in
post_callback()
Gramine's logging configuration is done in the PAL-common logic (to avoid duplication), which is executed after the PAL-specific logic. So previously, the warnings about invalid search domain names and/or hostname (which are checked and produced during the PAL-specific logic) didn't show up in Gramine logs. This commit saves the invalid DNS information, and prints the warnings in `post_callback()`, which is after logging is configured. Signed-off-by: Kailun Qin <[email protected]>
- Loading branch information
1 parent
2f88dae
commit e282ee5
Showing
1 changed file
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters