By default, if I start a background web server with 2 workers, I get 4 files to sift through when debugging. I would like to have a single file to search.
- gunicorn mybase.wsgi --workers 2:
If I try to redirect output of stdout and stderr to a single file like I do on my dev box, it fails to save any output in circleci:
circle.yml way doesn’t let me redirect output to custom file
- gunicorn mybase.wsgi --workers 2 > gunicorn_2_workers.txt 2>&1:
linux equivalent: (this command fails on circleci)
nohup gunicorn mybase.wsgi --workers 2 > gunicorn_2_workers.txt 2>&1 &
Anyone know how to redirect output to custom file when using background processes on circleci?