国内最全IT社区平台 联系我们 | 收藏本站
华晨云阿里云优惠2
您当前位置:首页 > 互联网 > 日志文件adapter

日志文件adapter

来源:程序员人生   发布时间:2014-10-12 15:12:59 阅读次数:2202次
08/30/14 11:19:37,742 INFO =============cdnadapter is starting...... ! ============= pid = 6199 [./src/frame.cpp:469] 08/30/14 11:19:37,742 TRACE Enter InitThreadPool() [./src/frame.cpp:196] 08/30/14 11:19:37,742 TRACE Exit InitThreadPool() [./src/frame.cpp:213] 08/30/14 11:19:37,742 TRACE Enter StartPreThread() [./src/main.cpp:154] 08/30/14 11:19:37,746 INFO CSqliteOpt::InitDB(): Init mem db succeed! [./src/adaptercommon.cpp:103] 08/30/14 11:19:37,746 TRACE Exit StartPreThread() [./src/main.cpp:169] 08/30/14 11:19:37,748 INFO start listen 172.30.25.246:8888 [./src/frame.cpp:283] 08/30/14 11:19:37,748 INFO =============cdnadapter is starting...... ! ============= pid = 6199 [./src/frame.cpp:469] 08/30/14 11:20:32,795 DEBUG CListener::Run(),receive link req from 172.30.25.119:56892 FD = 19 [./src/listener.cpp:288] 08/30/14 11:20:32,795 DEBUG CListenAccepter::Run(),CListenAccepter:172.30.25.246:8888 Accepter1 accept failed! bad fd = -1,errno = 11 [./src/listener.cpp:274] 08/30/14 11:20:32,795 DEBUG CListenAccepter::Run(),CListenAccepter:172.30.25.246:8888 Accepter0 accept failed! bad fd = -1,errno = 11 [./src/listener.cpp:274] 08/30/14 11:20:32,856 DEBUG CListenMsgHandle::cb_Read(),receive req msg from 172.30.25.119:56892, ReqHttp = POST /TransferContent HTTP/1.1 User-Agent: Java/1.6.0_21 Host: 172.30.25.245:8071 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive^M Content-type: application/x-www-form-urlencoded Content-Length: 430 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <TransferContent interval="6" contentType="VOD" startNext="false" responseURL="http://172.30.25.111:60000/TransferStatus" volumeName="coship" assetID="222222222222222" providerID="coship"> <Input format="ts" codec="h264" isEncrypted="false" sourceURL="http://172.30.25.246:8090/home/dengxiaobing/ad1.ts" transferBitRate="800" transferCoder="false"/> </TransferContent> [./src/listenmsghandle.cpp:354] 08/30/14 11:20:32,860 TRACE Enter ParseTransferContentReqPara() [./src/a3protocol.cpp:98] 08/30/14 11:20:32,860 TRACE Exit ParseTransferContentReqPara() [./src/a3protocol.cpp:259] 08/30/14 11:20:32,860 INFO delete SQL:delete from task_table where 1=1 and providerid='coship' and (assetid='222222222222222_800') and state=4; [./src/adaptercommon.cpp:271] 08/30/14 11:20:32,862 INFO add task to mem db:providerID=coship, assetID=222222222222222_800, bitRate=800, protoType=ISS, sourceURL=http://172.30.25.246:8090/home/dengxiaobing/ad1.ts, startTime=0, endTime=0, FTPUser=, FTPPasswd=, responseURL=http://172.30.25.111:60000/TransferStatus, transferCode=false, CDNAddr : 172.30.25.246:8886, audioBitrate=0, resolution=0, frameRate=0, codec=h264 [./src/adaptercommon.cpp:168] 08/30/14 11:20:32,863 DEBUG CCommonOper::SynRespHttpMsg(),resp msg to 172.30.25.119:56892(FD = 19) success! RespMsg = HTTP/1.1 200 OK Server: CoshipCDNServer Content-Type: text/xml Content-Length: 0 Date: 2014-08-30 11:20:32 [./src/commonoper.cpp:204] 08/30/14 11:20:32,881 DEBUG CListenMsgHandle::DeleteHttpFD(),del SocketMsg in libevent and closed FD = 19 [./src/listenmsghandle.cpp:467] 08/30/14 11:20:34,752 DEBUG query sql : select state, ciaddr from task_table where providerid='coship' and assetid='222222222222222_800'; [./src/adaptercommon.cpp:656] 08/30/14 11:20:34,763 DEBUG CCommonOper::SynReqHttpMsg(),send syn http req to 172.30.25.246:8886 success! ReqMsg = POST /TransferContent HTTP/1.1 User-Agent: CDNAdapter Host: 172.30.25.246:8886 Content-Type: text/xml Content-Length: 411 Date: 2014-08-30 11:20:34 Connection: close <?xml version ="1.0" encoding="UTF-8"?><TransferContent providerID="coship" assetID="222222222222222_800" volumeName="coship" transferBitRate="800" responseURL="http://172.30.25.246:8888"><Input sourceURL="http://172.30.25.246:8090/home/dengxiaobing/ad1.ts" sourceIP="" codec="h264" transferCoder="false"/><ExtraFile><file type="top"/></ExtraFile><ContentAsset><!-- metadata --></ContentAsset></TransferContent> RespMsg = HTTP/1.1 200 OK Server: CoshipCDNServer Content-Type: text/xml Content-Length: 0 Date: 2014-08-30 11:20:34 [./src/commonoper.cpp:314] 08/30/14 11:20:34,763 INFO transaction SQL:update task_table set state=1 where providerid='coship' and assetid='222222222222222_800'; [./src/adaptercommon.cpp:414] 08/30/14 11:21:01,777 DEBUG CCommonOper::SynReqHttpMsg(),send syn http req to 172.30.25.246:8886 success! ReqMsg = POST /GetTransferStatus HTTP/1.1 User-Agent: CDNAdapter Host: 172.30.25.246:8886 Content-Type: text/xml Content-Length: 129 Date: 2014-08-30 11:21:01 Connection: close <?xml version ="1.0" encoding="UTF-8"?><GetTransferStatus providerID="coship" assetID="222222222222222_800" volumeName="coship"/> RespMsg = HTTP/1.1 200 OK Server: CoshipCDNServer Content-Type: text/xml Content-Length: 164 Date: 2014-08-30 11:21:01 <?xml version ="1.0" encoding="utf-8"?><TransferStatus providerID="coship" assetID="222222222222222_800" volumeName="coship" state="Transfer" percentComplete="60"/> [./src/commonoper.cpp:314] 08/30/14 11:21:01,778 TRACE Enter ParseTransferStatusReqPara() [./src/a3protocol.cpp:405] 08/30/14 11:21:01,778 TRACE Exit ParseTransferStatusReqPara() [./src/a3protocol.cpp:535] 08/30/14 11:21:01,778 INFO transaction SQL:update task_table set state=1,percent=60,filesize=0,md5checksum='',md5creattime='',finishtime=0,reasonCode=0 ,duration=0 where providerid='coship' and assetid='222222222222222_800' and state<3 [./src/adaptercommon.cpp:414] 08/30/14 11:21:43,785 DEBUG CCommonOper::SynReqHttpMsg(),send syn http req to 172.30.25.246:8886 success! ReqMsg = POST /GetTransferStatus HTTP/1.1 User-Agent: CDNAdapter Host: 172.30.25.246:8886 Content-Type: text/xml Content-Length: 129 Date: 2014-08-30 11:21:43 Connection: close <?xml version ="1.0" encoding="UTF-8"?><GetTransferStatus providerID="coship" assetID="222222222222222_800" volumeName="coship"/> RespMsg = HTTP/1.1 200 OK Server: CoshipCDNServer Content-Type: text/xml Content-Length: 328 Date: 2014-08-30 11:21:43 <?xml version ="1.0" encoding="utf-8"?><TransferStatus providerID="coship" assetID="222222222222222_800" volumeName="coship" state="Complete" percentComplete="100" avgBitRate="3500336" maxBitRate="3500336" duration="257" md5Checksum="8ea9a7206df8b30baa00ad4a1b6e77b6" contentSize="112451260" md5DateTime="2014-08-30T11:21:43Z"/> [./src/commonoper.cpp:314] 08/30/14 11:21:43,785 TRACE Enter ParseTransferStatusReqPara() [./src/a3protocol.cpp:405] 08/30/14 11:21:43,785 TRACE Exit ParseTransferStatusReqPara() [./src/a3protocol.cpp:535] 08/30/14 11:21:43,785 INFO transaction SQL:update task_table set state=2,percent=100,filesize=112451260,md5checksum='8ea9a7206df8b30baa00ad4a1b6e77b6',md5creattime='2014-08-30T11:21:43Z',finishtime=1409368903,reasonCode=0 ,duration=257 where providerid='coship' and assetid='222222222222222_800' and state<3 [./src/adaptercommon.cpp:414]

生活不易,码农辛苦
如果您觉得本网站对您的学习有所帮助,可以手机扫描二维码进行捐赠
程序员人生
------分隔线----------------------------
分享到:
------分隔线----------------------------
关闭
程序员人生