日志文件adapter

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]

时间: 2024-10-12 03:28:42

日志文件adapter的相关文章

SQL存储过程删除数据库日志文件的方法

--日志文件收缩至多少M DECLARE @DBLogSise AS INT SET @DBLogSise=0 --查询出数据库对应的日志文件名称 DECLARE @strDBName AS NVARCHAR(500) DECLARE @strLogName AS NVARCHAR(500) DECLARE @strSQL AS VARCHAR(1000) SELECT @strLogName=B.name, @strDBName=A.name FROM master.sys.databases

expdp导出遇到ORA-39064: 无法写入日志文件

. . 导出了 "USER_XXXX"."TAB_YYYY" 0 KB 0 行 ORA-39064: 无法写入日志文件 ORA-29285: 文件写入错误 经过搜索mos,有如下的文章给出了解决方案: Error ORA-39064 Might Be Encountered By DataPump Export (EXPDP) When NLS_LANG Is Different From Database Character Set (Doc ID 1321034

windows服务器清理系统垃圾日志文件

Windows服务器的系统盘如果是2003系统的话那么我们默认给10G的空间就够了,但是有时候我们不经意去查看系统盘的时候发现已经使用了9.9G,其实多是垃圾日志文件占用系统盘空间,使用如下批处理将这些文件删除. 在桌面新建一个文本文档,将如下代码复制进去: @echo off echo 正在清除系统垃圾文件,请稍等...... del /f /s /q %systemdrive%\*.tmp del /f /s /q %systemdrive%\*._mp del /f /s /q %syst

MySQL日志文件与分析

1.查询日志.慢查询日志.二进制日志对比 查询日志 general_log 会记录用户的所有操作,其中包含增删查改等 可以指定输出为表 慢查询日志 slow_log 只要超过定义时间的所有操作语句都记录 可以指定输出为表 二进制日志 log_bin 记录可能执行更改的所有操作 mysqlbinlog查看 2.日志的分析 2.1日志的存储 数据操作过程中,Mysqld是将接收到的语句按照接收的顺序(注意不是执行顺序)写到查询日志文件中.一条一条就类似这样: # Time: 070927 8:08:

用于监控日志文件的是否被修改的脚本

最近一段需要监控观察web服务器上的日志文件是否有写入,用来判断是否服务进程是否是正常,为此就简单写了一个脚本: #!/bin/bash #check_logfile_io.sh #Used to monitor logs I/O #writer jim #histor #2017.3.22 log_file_path=/usr/local/apache/log/access.log First_md5sum=$(/usr/bin/md5sum $log_file_path | awk '{pr

IIS 7 出现日志文件时间与服务器时间不符

最近在分析web日志,发现IIS7日志中时间与系统时间不一致,即本该上班时间才产生 的产并发访问日志,全部发生在凌晨至上班前. 本以为是系统时间设置错误,检查后一切正常.后查询资料,原来是这个原因: 日志的格式有IIS.NCSA.W3C三种: 1.IIS是固定的基于 ASCII 文本的格式,无法自定义记录的字段,字段由逗号分隔, 记录的时间为本地时间文件名前缀为u_in. 2.NCSA是美国国家超级计算技术应用中心 (NCSA) 公用日志文件格式,也是固定的基 于 ASCII 文本的格式,无法自

windows 日志文件查找符合条件的列并统计

因为要将windows每天登陆失败的次数统计, "wevtutil el  "           //列出日志名称 "wevtutil  gl  日志名称" //获取日志配置信息. 你可以使用短(如 ep /uni)或长(如enum-publishers /unicode)形式的命令和选项名称. 命令.选项和选项值不区分大小写. 变量均使用大写形式. wevtutil COMMAND [ARGUMENT [ARGUMENT] ...] [/OPTION:VALUE

log4net 既要按日期分割日志文件,又要按文件大小分割。

<appender name="DebugAppender" type="log4net.Appender.RollingFileAppender"> <file value="log\debug\"/> <appendToFile value="true" /> <rollingStyle value="Composite" /> <datePatte

(Unity)Unity自定义Debug日志文件,利用VS生成Dll文件并使用Dotfuscated进展混淆,避免被反编译

Unity自定义Debug日志文件,利用VS生成Dll文件并使用Dotfuscated进行混淆,避免被反编译. 1.打开VS,博主所用版本是Visual Studio 2013. 2.新建一个VC项目,选择类库,取名为JefferyChan,具体步骤如下图: 3.因为要调用Unity中的相关文件,所以这里要引入外部文件.首先在Unity的安装文件夹中找到UnityEngine.dll,我的路径是:D:\Program Files (x86)\Unity\Editor\Data\Managed 如