在远程shell中运行SASL错误报告的报表浏览器(rb) [英] Running the report browser (rb) for SASL error reports whilst in a remote shell

查看:134
本文介绍了在远程shell中运行SASL错误报告的报表浏览器(rb)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们现在正在使用很多Erlang实例,我们看到错误被抛出,并且想要检查它们。



通常我们连接到正在运行的实例与远程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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆