2016-01-31 16:20:33.502 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_CREATE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_recv.raw, is absolute path: true
2016-01-31 16:20:33.502 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_recv.raw, is absolute path: true
2016-01-31 16:20:33.502 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_CREATE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_send.raw, is absolute path: true
2016-01-31 16:20:49.359 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_recv.raw, is absolute path: true
2016-01-31 16:20:49.359 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_send.raw, is absolute path: true
2016-01-31 16:20:49.360 INFO 7815 --- [ Thread-91] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_CREATE, /usr/share/record/pbxrecord/dysoft/20160131/229_13833520052_20160131-162118_32862cd.mp3, is absolute path: true
2016-01-31 16:20:49.360 INFO 7815 --- [ Thread-91] n.w.dianxiao.watcher.SalesCallMonitor : persist activity now ...
Hibernate:
select
coalesce(max(oclg0.ClgCode),
'0') as col_00
from
OCLG oclg0_
2016-01-31 16:20:49.367 WARN 7815 --- [ Thread-91] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 08S01
2016-01-31 16:20:49.367 ERROR 7815 --- [ Thread-91] o.h.engine.jdbc.spi.SqlExceptionHelper : The last packet successfully received from the server was 167,932,104 milliseconds ago. The last packet sent successfully to the server was 167,932,104 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
Exception in thread "Thread-91" org.springframework.dao.DataAccessResourceFailureException: could not extract ResultSet; nested exception is org.hibernate.exception.JDBCConnectionException: could not extract ResultSet
2016-01-31 16:20:49.723 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_DELETE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_send.raw, is absolute path: true
2016-01-31 16:20:49.724 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_DELETE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_recv.raw, is absolute path: true
拨通但是未接听的电话
2016-01-31 16:23:50.696 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_CREATE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_recv.raw, is absolute path: true
2016-01-31 16:23:50.697 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_recv.raw, is absolute path: true
2016-01-31 16:23:50.697 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_CREATE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_send.raw, is absolute path: true
2016-01-31 16:23:50.697 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_send.raw, is absolute path: true
2016-01-31 16:24:25.372 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_recv.raw, is absolute path: true
2016-01-31 16:24:25.372 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_send.raw, is absolute path: true
2016-01-31 16:24:26.096 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_DELETE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_send.raw, is absolute path: true
2016-01-31 16:24:26.096 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_DELETE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_recv.raw, is absolute path: true
1,监控的目标目录 /usr/share/record/pbxrecord/ 是.raw文件暂时存放的地方,是否有必要监控 /usr/share/record/pbxrecord/dysoft/ 是最终mp3存放的地方,是否直接监控此目录
2,拨通且未接听的电话,监测到的动作,与拨通且接听的电话不同。拨通且未接听的电话,得到的监测记录,没有ENTRY_CREATE动作(事实上对应的mp3的确生成了)
拨通且接听的电话
2016-01-31 16:20:33.502 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_CREATE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_recv.raw, is absolute path: true 2016-01-31 16:20:33.502 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_recv.raw, is absolute path: true 2016-01-31 16:20:33.502 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_CREATE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_send.raw, is absolute path: true
2016-01-31 16:20:49.359 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_recv.raw, is absolute path: true 2016-01-31 16:20:49.359 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_send.raw, is absolute path: true 2016-01-31 16:20:49.360 INFO 7815 --- [ Thread-91] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_CREATE, /usr/share/record/pbxrecord/dysoft/20160131/229_13833520052_20160131-162118_32862cd.mp3, is absolute path: true 2016-01-31 16:20:49.360 INFO 7815 --- [ Thread-91] n.w.dianxiao.watcher.SalesCallMonitor : persist activity now ... Hibernate: select coalesce(max(oclg0.ClgCode), '0') as col_00 from OCLG oclg0_ 2016-01-31 16:20:49.367 WARN 7815 --- [ Thread-91] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 08S01 2016-01-31 16:20:49.367 ERROR 7815 --- [ Thread-91] o.h.engine.jdbc.spi.SqlExceptionHelper : The last packet successfully received from the server was 167,932,104 milliseconds ago. The last packet sent successfully to the server was 167,932,104 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem. Exception in thread "Thread-91" org.springframework.dao.DataAccessResourceFailureException: could not extract ResultSet; nested exception is org.hibernate.exception.JDBCConnectionException: could not extract ResultSet
2016-01-31 16:20:49.723 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_DELETE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_send.raw, is absolute path: true 2016-01-31 16:20:49.724 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_DELETE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228478_32862_recv.raw, is absolute path: true
拨通但是未接听的电话
2016-01-31 16:23:50.696 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_CREATE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_recv.raw, is absolute path: true 2016-01-31 16:23:50.697 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_recv.raw, is absolute path: true 2016-01-31 16:23:50.697 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_CREATE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_send.raw, is absolute path: true 2016-01-31 16:23:50.697 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_send.raw, is absolute path: true
2016-01-31 16:24:25.372 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_recv.raw, is absolute path: true 2016-01-31 16:24:25.372 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_MODIFY, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_send.raw, is absolute path: true 2016-01-31 16:24:26.096 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_DELETE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_send.raw, is absolute path: true 2016-01-31 16:24:26.096 INFO 7815 --- [ Thread-89] n.w.dianxiao.watcher.SalesCallMonitor : ENTRY_DELETE, /usr/share/record/pbxrecord/20160131/229_13833520052_1454228675_32866_recv.raw, is absolute path: true