在远程shell中运行SASL错误报告的报表浏览器(rb) [英] Running the report browser (rb) for SASL error reports whilst in a remote shell
问题描述
通常我们连接到正在运行的实例与远程shell,并以这种方式访问Erlang控制台,但这不适用于rb或错误消息...
如何获取远程访问到我的SASL错误消息,而不会丢弃服务器,启动它不分离和查看shell?
我遇到了回到R11B,最后创建一个可以在远程shell上运行的rb克隆( http://github.com/archaelus/erms/blob/master/src/erms_rb.erl )。诀窍是发现group_leader 的< a href =http://github.com/archaelus/erms/blob/master/src/erms_rb.erl#L161 =nofollow noreferrer>来电者,然后发送输出。
我应该整理一下,把它作为补丁提交给rb。
Folks we are now delploying a lot of Erlang instances and we are seeing bugs been thrown and would like to examine them...
Normally we connect to the running instance with a remote shell and get access to an Erlang console that way, but this doesn't work for rb or error messages...
How do I get remote access to my SASL error messages without dropping the server, starting it non-detached and looking at the shell?
I ran into this back in R11B and ended up creating a clone of rb that works over a remote shell (http://github.com/archaelus/erms/blob/master/src/erms_rb.erl). The trick is to discover the group_leader of the caller and then send output there.
I should probably tidy that up and submit it as a patch to rb.
这篇关于在远程shell中运行SASL错误报告的报表浏览器(rb)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!