开发者

Is there a way to change error_logger tty output format

Is there way to change the format error_logger print messages to the console, or file.

I get

=INFO REPORT==== 8-Jun-2011::18:46:15 ===
This is my info report. 

I want to get this

INFO:8-Jun-2011::18:46:15: This is my info report.

Example is for开发者_运维百科 info, but it should be for error, warning etc


SASL error_logger is ordinary OTP event manager so you can register and remove any gen_event handler as you want there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜