#See files generated deployment
65 messages · Page 1 of 1 (latest)
Project ID: N/A
N/A
To elaborate, when executing supervisord, all the logs of the child processes will be in a seperate file generated after starting supervisord
im wondering if its possible to view the contents of those files
for all intensive purposes, it's not possible.
configure supervisord to log to stdout/stderr
oh yea the second part would also be useful
what exactly is stdout/stderr through
is that the deploy log?
I can already see the output of supervisor here though
i just want to see the output of the child processes run by supervisor
I'm sure there's some results from Google that could explain it far better than I could
configure supervisord to forward the logs of the child process to stdout/stderr
the deployment logs
ok i figured out the command but what would be the directory I should forward the logs to?
I need to set
stdout_logfile
and stderr_logfile
i dont know off the top of my head, that would be something you could look up though
me telling you would just be me googling it 🤣
ah ok
ill try lol
it seems like supervisor only has an option to redirect stderr 😭
theres no option for redirect_stdout
uh in the second link of my google search
hmm my stdout is just completely empty now
oh i just realized this is actualyl the original code i had
new ideas:
- take my original advice and run two railway services, forego supervisord
- use parallel instead of supervisord
- use multirun instead of supervisord
🙂
will that allow me to view the stdout of child processes from the deployment log?
the things you are trying to get supervisord to run
yeah a railway service for the flask app and a railway service for the huey thing
wait but then I wouldn't need supervisor anymore
correct
therefore no issues with logs
to make it easy, i would have a Dockerfile.huey and a Dockerfile.flask that hopefully are self explanatory, then specify the appropriate dockerfile via the RAILWAY_DOCKERFILE_PATH service variable
but just for future reference its not possible to view files deployed inside railway?
unless you build that kind of functionality into your app, no