The Worker must match the same functionality as the Orchestrator in terms of logging.
This means writing things to STDOUT if no logging directory is provided, otherwise writng to that directory and creating it if it does not already exist.
Solution (Changes Made)
Update environment name to match nomenclature with Orchestrator.
Use WORKER_LOGS_DIR environment variable for optional file logging.
Otherwise use stdout
If using stdout, print output of container subprocess so that its output appears in the running process.
Feature/Problem Description
The Worker must match the same functionality as the Orchestrator in terms of logging.
This means writing things to STDOUT if no logging directory is provided, otherwise writng to that directory and creating it if it does not already exist.
Solution (Changes Made)
WORKER_LOGS_DIR
environment variable for optional file logging.stdout
stdout
,print
output of container subprocess so that its output appears in the running process.