jenkins 日志爆满

 2016/12/07 10:25 于 系统

  **前一段时间公司的jenkins因为日志量太大把磁盘占满,仔细一看日志文件“/var/log/jenkins/jenkins.log”几分钟产生了20G的日志,

而且日志还在一直增长,内容如下**
Dec 07, 2016 1:38:14 AM javax.jmdns.impl.constants.DNSRecordClass classForIndex
WARNING: Could not find record class for index: -1
Dec 07, 2016 1:38:14 AM javax.jmdns.impl.DNSIncoming$MessageInputStream readName
SEVERE: bad domain name: possible circular name detected. Bad offset: 0xffffffff at 0x192
Dec 07, 2016 1:38:14 AM javax.jmdns.impl.constants.DNSRecordType typeForIndex
SEVERE: Could not find record type for index: -1
Dec 07, 2016 1:38:14 AM javax.jmdns.impl.DNSIncoming readQuestion
SEVERE: Could not find record type: dns[query,62.210.149.68:6037, length=404, id=0x4f50, flags=0x5449:aa, questions=4688
questions:
[DNSQuestion@2088037402 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: 00@123.56.20.160 SIP/2.0
Via: SIP/2.0/UDP 127.0...1:6037;branch=z9hG4bK-1103786718;rport
Content.Length: 0
From: "sipvicious"<sip:100@1.1.1.1.;tag=37623338313461303134653901353434343930393731
Accept: app.sdp
User-Agent: friendly-scanner
To: "sipvici.sip:100@1.1.1.1Contact: sip:10.@127.0.0.1:6037
CSeq: 1 OPTIONS
Call-ID: 76029.546128695368835116
Max-Forwards: 70

ϿϿϿϿϿϿ.]
[DNSQuestion@1398141921 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@752862545 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@2077034887 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@545402584 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@1546918866 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@236169288 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@494995772 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@742654138 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@1347581035 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@1125173185 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@1447947894 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@1518364117 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@431141826 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
[DNSQuestion@1549353466 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]

上面内容主要是因为DNS查询错误,返回了所有的日志数据,解决方法:
【系统管理】=》【system log】=>【日志级别】=》【Name: javax.jmdns,Level: off】

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐