Actions
User story #24238
closedRudder-package should log the package scripts outputs and errors
Effort required:
Name check:
To do
Fix check:
Checked
Regression:
No
Description
Currently, the plugin manager redirects the package scripts execution output to its stdout.
This is not easily manageable as package scripts are not always well written and may display debug unwanted debug information in their output.
This ticket will instead log the package scripts stdout/stderr as a serialized json and put in the dedicated script folder of the plugin (/var/rudder/packages<plugin-name>) and display a message redirecting to the log file in case of an error.
We do not have to care about the log rotation since this folder is cleanup at package upgrade and removal.
Actions