Is there any way to change the output format of error_logger tty

Is there a way to change the format of the error_logger message 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.

An example for information, but it should be an error, warning, etc.

+3
source share
1 answer

SASL error_loggeris a regular OTP event dispatcher, so you can register and delete any handler gen_eventas you want.

+5
source

All Articles