如何禁用容器之一上的输出? [英] How to disable output on one of containers?
本文介绍了如何禁用容器之一上的输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在为我的项目使用Codeship CI.我已经进行了硒测试,并且正在使用 selenium/standalone-firefox
上的远程浏览器,但是它会产生大量日志,因此我想为 selenium/standalone-firefox禁用stdout
代码>容器.
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?
推荐答案
我使用了这种方法:
JAVA_OPTS=-Dselenium.LOGGER.level=WARNING
将其添加为 selenium/standalone-chrome
的docker映像中的ENV变量.
Added it as ENV variables in docker image for selenium/standalone-chrome
.
这篇关于如何禁用容器之一上的输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文