jenkins - 我怎样才能防止 jenkins 日志收到奇怪消息的垃圾邮件

标签 jenkins

这个问题在这里已经有了答案:





How to stop Jenkins log from becoming huge?

(6 个回答)


6年前关闭。




几乎每周我们运行 jenkins 的开发服务器都没有剩余的磁盘空间,因为 jenkins 日志文件变得很大(> 100g)。
这些奇怪的消息完全填满了它:

[DNSQuestion@1218458593 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1577918927 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1610023624 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1936465154 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@983177141 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@229530224 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1789454415 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@2034199573 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@326302520 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1827692284 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1094138301 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1139456586 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1204101684 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@699171726 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1362017751 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1191212370 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@691682052 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]

我们正在运行当前的 Jenkins 版本 1.622。

最佳答案

这是 Jenkins 依赖项的已知问题,跟踪为 JENKINS-10160 (尽管在撰写本文时问题跟踪器已关闭)。

如果您没有使用 Jenkins 的 DNS 服务发现功能(您可能没有使用),那么您可以使用以下 command line flags 禁用此功能启动 Jenkins 时:

-Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1

关于jenkins - 我怎样才能防止 jenkins 日志收到奇怪消息的垃圾邮件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31740373/

相关文章:

linux - Ant 构建在 Linux 机器上失败

jenkins - 以 [user] 身份从 Jenkins 运行 Ansible

windows - Jenkins 远程错误: Error cloning remote repo 'origin'

python - 将日志记录添加到 jenkins 中的测试结果中

linux - 无法连接到 Jenkins 服务器 (Amazon Linux AMI)

docker - Jenkins管道中的“docker-compose: not found”。尝试为环境添加路径

java - 获取最后提交者的用户名?

Jenkins JIRA 插件问题

json - java.lang.NoSuchMethodError:没有这样的DSL方法 'readJSON'

java - 如何将 java 参数传递给 Jenkins 中的特定从站?