images icon indicating copy to clipboard operation
images copied to clipboard

Not all logs are being written to container's stdout/stderr

Open rsotnychenko opened this issue 4 years ago • 1 comments

Hello,

I have had an issue with running Selenoid locally and spent a some time debuging it. There weren't any useful logs from neither Selenoid container nor browser's.

When I finally found this line: https://github.com/aerokube/selenoid-images/blob/86ca73b0f0be7d86fd7007cd274660d28eb7c68d/selenium/chrome/entrypoint.sh#L47 I removed the redirect to /dev/null and an error message came up, giving me the exact reason what is wrong...

I wasn't expecting this behaviour from a container (especially a short-lived one) and therefore I'm wondering what is the reasoning behind placing that redirect?

rsotnychenko avatar Mar 27 '20 13:03 rsotnychenko

@rsotnychenko just because in the majority of cases these logs are useless. We mainly expect Chromedriver logs to be output to stdout.

vania-pooh avatar Mar 27 '20 13:03 vania-pooh