Project

General

Profile

Actions

User story #24238

closed

Rudder-package should log the package scripts outputs and errors

Added by Félix DALLIDET 9 months ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
Plugin manager cli
Target version:
UX impact:
Suggestion strength:
User visibility:
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.


Subtasks 3 (0 open3 closed)

User story #24241: 8.1 version of parent ticketReleasedVincent MEMBRÉActions
User story #24483: rudder package log the package scripts in the wrong filesReleasedAlexis MoussetActions
User story #24250: Typos in parent ticketReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF