[#901] HIRS Application Log File Is Empty/Not Found In Correct Directory #903
+21
−18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
We found out recently that the HIRS log file is not only not recording any activities that are occurring in the application but that it is located in a completely directory.
Test Instructions:
Run the application either by creating an RPM/Debian file or using the setup scripts located in the package/linux/aca folder.
You can upload a bunch of PEM/CER files to the pages that allow you to upload certificates (such as the Trust Chain Management page) or even the Platform Certificate page and run the
sudo tpm_aca_provision
command. Pretty much try to perform some basic activities on the applicationGo to the
/var/log/hirs
directory and verify that theHIRS_AttestationCA_Portal.log
log file is there and open it up in your favorite code editor.Verify that all the activities that you performed on the application has been recorded to the log file.
Issues this PR addresses:
Closes #901