将消息发布到ibm mq时写入的额外日志

时间:2014-08-27 18:24:36

标签: jms ibm-mq spring-jms

我有一个将消息发布到IBM MQ的工作。 我已将日志配置为写入文件而不是控制台。 但是当我每次运行这个工作时,我都会在控制台上看到大量的日志

我刚刚更改了日志中的ips和公司名称,但是 这是什么来源 它为什么会出现 我该怎么做呢?

我的所有消息都成功发布,因此从最终用户的角度来看,该作业工作正常,但是我无法弄清楚为什么会出现在控制台上?

RcvThread: com.ibm.mq.jmqi.remote.internal.RemoteTCPConnection[qmid=CANNED_DATA,fap=10,peer=naumib3.mydomain.net/112.999.138.25,localport=56857,ssl=SSL_RSA_WITH_NULL_SHA,peerDN="CN=ibmwebspheremqnaumib3, OU=For Intranet Use Only, OU=For Intranet Use Only, O=My Company, L=New York, ST=New York, C=US",issuerDN="CN=VeriSign Class 3 Secure Server CA - G3, OU=Terms of use at https://www.verisign.com/rpa (c)10, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US"], READ: SSLv3 Application Data, length = 72
main, WRITE: SSLv3 Application Data, length = 68
[Raw write]: length = 73
0000: 17 03 00 00 44 54 53 48   43 00 00 00 30 01 0C 30  ....DTSHC...0..0
0010: 00 00 00 00 00 00 00 00   00 00 00 01 11 03 33 00  ..............3.
0020: 00 00 00 00 01 00 00 00   00 00 00 00 02 00 00 00  ................
0030: 00 00 00 00 00 41 69 2A   27 7E EB 3A 9B 47 4A 02  .....Ai*'..:.GJ.RcvThread: com.ibm.mq.jmqi.remote.internal.RemoteTCPConnection[qmid=CANNED_DATA,fap=10,peer=naumib3.mydomain.net/112.999.138.25,localport=56857,ssl=SSL_RSA_WITH_NULL_SHA,peerDN="CN=ibmwebspheremqnaumib3, OU=For Intranet Use Only, OU=For Intranet Use Only, O=My Company, L=New York, ST=New York, C=US",issuerDN="CN=VeriSign Class 3 Secure Server CA - G3, OU=Terms of use at https://www.verisign.com/rpa (c)10, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US"], received EOFException: ignored
RcvThread: com.ibm.mq.jmqi.remote.internal.RemoteTCPConnection[qmid=CANNED_DATA,fap=10,peer=naumib3.mydomain.net/112.999.138.25,localport=56857,ssl=SSL_RSA_WITH_NULL_SHA,peerDN="CN=ibmwebspheremqnaumib3, OU=For Intranet Use Only, OU=For Intranet Use Only, O=My Company, L=New York, ST=New York, C=US",issuerDN="CN=VeriSign Class 3 Secure Server CA - G3, OU=Terms of use at https://www.verisign.com/rpa (c)10, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US"], called closeInternal(false)
RcvThread: com.ibm.mq.jmqi.remote.internal.RemoteTCPConnection[qmid=CANNED_DATA,fap=10,peer=naumib3.mydomain.net/112.999.138.25,localport=56857,ssl=SSL_RSA_WITH_NULL_SHA,peerDN="CN=ibmwebspheremqnaumib3, OU=For Intranet Use Only, OU=For Intranet Use Only, O=My Company, L=New York, ST=New York, C=US",issuerDN="CN=VeriSign Class 3 Secure Server CA - G3, OU=Terms of use at https://www.verisign.com/rpa (c)10, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US"], SEND SSLv3 ALERT:  warning, description = close_notify

2 个答案:

答案 0 :(得分:0)

输出看起来可能来自可能应用于已安装的MQ JMS / Java客户端的某种类型的调试或诊断补丁。 RcvThread是内部用于在TCP套接字上侦听来自QM的数据的线程。您是否知道过去可能用于帮助解决TCP连接问题的补丁?

您可能希望查看正在使用的MQ客户端中包含的com.ibm.mq.jmqi.jar,以查看时间戳或jar文件中清单文件中记录的任何内容是否存在差异本身。

答案 1 :(得分:0)

同意之前的回答,通常不是由JMS客户端代码编写的任何日志的格式。在正常情况下,只有两种情况下将日志写入stdout:

控制的JMS客户端日志文件之一
# Name(s) of the log file(s)
# Can be 
#    * a single pathname 
#    * a comma-separated list of pathnames (all data is logged to all files) 
# Each pathname can be 
#    * absolute or relative pathname
#    * "stderr" or "System.err" to represent the standard error stream
#    * "stdout" or "System.out" to represent the standard output stream 
com.ibm.msg.client.commonservices.log.outputName=mqjms.log

所谓的JMS Startup跟踪 - 一种非常早期的跟踪系统,通常仅在IBM Service的请求下使用。 (这也记录在jms.config文件中)。