Search code examples
dockerdocker-composecodeship

How to disable output on one of containers?


I am using Codeship CI for my project. I have selenium tests and I am using remote browser from selenium/standalone-firefox but it's producing tons of logs, so I want to disable stdout for selenium/standalone-firefox container.

Any ideas how I can do this?


Solution

  • I used this approach:

    JAVA_OPTS=-Dselenium.LOGGER.level=WARNING
    

    Added it as ENV variables in docker image for selenium/standalone-chrome.