Mariusz Górski created ATLAS-3557:
-------------------------------------
Summary: Configurable STDOUT Redirect in Python entrypoint scripts
Key: ATLAS-3557
URL: https://issues.apache.org/jira/browse/ATLAS-3557
Project: Atlas
Issue Type: Improvement
Reporter: Mariusz Górski
*Background*:
Currently Atlas *entrypoint.sh* uses Python scripts for setup. Executing java
process is done through *runProcess* function in *atlas_config.py*, which
explicitly redirects *stdout* and *stderr* of those processes to files. We
would like this to be configurable, so we are able to use bare log4j config to
define our logging strategy. This way logging stream might be easily captured
while running Atlas on Docker/Kubernetes, where containers stdout is captured.
*Proposal*:
Adding optional *REDIRECT_STDOUT* env variable which defaults to *True* (for
backwards compatibility):
* When *True* - nothing changes
* When *False* - runProcess is opening subprocess without stdout and stderr
kwargs
--
This message was sent by Atlassian Jira
(v8.3.4#803005)