开发者

Is there a way to change error_logger tty output format

开发者 https://www.devze.com 2023-03-11 19:40 出处:网络
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 ===

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

精彩评论

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