-
Notifications
You must be signed in to change notification settings - Fork 0
Description
User story
As PSD, we would like to direct the output and error messages of the acme renew-hook script to syslog to see the progress and error information about the actions taken on the system.
Who are the primary contacts for this story
Who is the nominated tester for UAT
PSD
Acceptance criteria
Consider if these features can be featured flagged to decouple testing and deployment.
To be considered successful the solution must allow:
- Renew hook script output, error, and log messages are sent to syslog
- Renew hook messages appear as 'acme.sh' in syslog (
- Capture outputs and turn them into log messages ()
Dependencies
This story is blocked by the following dependencies:
- #<issue_no.>
- sanger/#<issue_no.>
References
This story has a non-blocking relationship with:
- #<issue_no.>
- sanger/#<issue_no.>
Additional context
Note that the renew-hook is a Python script which is generated by acme_deployment tailored specific to host during setup.
There may be an option of acme.sh to capture the script outputs and add to log; check that first.
Another way of achieving the criteria is from within generated python script:
Add syslog handler to logger
Use a logger name 'acme.sh'
Redirect sys.stdout and sys.stderr streams to logger
Deployment notes
Add any details that should be noted when deploying this feature. For example, is a database migration needed, a specifc rake task or other script that needs to be run, a dependency on another application or service that needs to be released first etc?
These notes are intended to ensure the developers releasing the feature know what needs to be done.
Add any other context or screenshots about the feature request here.