我的 Rivr VoiceXML 应用程序中的每个对话请求都有超时日志条目。我已经在 doTurn 方法中查看了 com.nuecho.rivr.core.channel.Timeout,这没关系,但我不断收到这些日志,这些日志超出了我的代码,因此不知道如何捕获和防止日志文件获取充满了他们:
2015-09-21T19:03:02.29+0200 [App/0] ERR [err] [Dialogue adef5e0c-4b6d-4f9a-9246-db8c3afadda9] INFO com.nuecho.rivr.dialogue - Dialogue ended.
2015-09-21T19:03:02.29+0200 [App/0] ERR [err] Exception in thread "Dialogue adef5e0c-4b6d-4f9a-9246-db8c3afadda9"
2015-09-21T19:03:02.29+0200 [App/0] ERR [err] java.lang.RuntimeException: Timeout while sending final result.
2015-09-21T19:03:02.29+0200 [App/0] ERR [err] at com.nuecho.rivr.core.channel.synchronous.SynchronousDialogueChannel$1.run(SynchronousDialogueChannel.java:242)
2015-09-21T19:03:02.29+0200 [App/0] ERR [err] at java.lang.Thread.run(Unknown Source)
2015-09-21T19:03:02.29+0200 [App/0] ERR [err] Caused by:
2015-09-21T19:03:02.29+0200 [App/0] ERR [err] com.nuecho.rivr.core.channel.Timeout: Timed-out in send() after 5 seconds (5000 ms) in [dialogue to controller]
2015-09-21T19:03:02.29+0200 [App/0] ERR [err] at com.nuecho.rivr.core.channel.synchronous.SynchronousDialogueChannel.send(SynchronousDialogueChannel.java:405)
2015-09-21T19:03:02.29+0200 [App/0] ERR [err] at com.nuecho.rivr.core.channel.synchronous.SynchronousDialogueChannel.access$600(SynchronousDialogueChannel.java:97)
2015-09-21T19:03:02.29+0200 [App/0] ERR [err] at com.nuecho.rivr.core.channel.synchronous.SynchronousDialogueChannel$1.run(SynchronousDialogueChannel.java:239)
2015-09-21T19:03:02.30+0200 [App/0] ERR [err] ... 1 more
也许我必须对我在对话代码中捕获的 com.nuecho.rivr.core.channel.Timeout 采取任何行动以防止它们(目前我只是返回
return new Exit("exit");
谢谢你的帮助