[erlang-questions] Should we deprecate or modernize log_mf_h and rb?
Fri Feb 15 17:41:09 CET 2019
If anyone is interested (hello Martin and Siri!), we have slightly
modernized our rotating cleartext logger handler to keep it compatible with
recent OTP versions, and split it up into three separate modules, one as
api and handler-supervisor, and one for the formatting of messages.
Available here, as a diff on top of the old version if anyone still wants
Den fre 1 apr. 2016 kl 13:34 skrev Richard Carlsson <
> Thanks for pointing out that old mail, Martin! These days though, it's
> probably worthwhile to rethink/rewrite these handlers from scratch rather
> than import disk_log_h into OTP as it is.
> 2016-04-01 13:08 GMT+02:00 Martin Bjorklund <mbj@REDACTED>:
>> We are not using log_mf_h, but instead we're using disk_log_h (see
>> We use this handler to get log rotation, but we log all error logger
>> messages in clear text (this should IMO be the default).
>> If you're interested in adding disk_log_h to OTP (search for
>> disk_log_h in disk_log.erl...), the latest version
>> (updated as recently as 2006 :) can be found here:
>> I support the deprecation initiative!
>> Siri Hansen <erlangsiri@REDACTED> wrote:
>> > Hello list!
>> > log_mf_h is an error_logger event handler which logs events to disk and
>> > does log rotation. rb (report browser) is the tool for reading and
>> > formatting the logs. The implementation of both modules is quite old and
>> > outdated. The fact that there is a size field for the events of only 16
>> > bits, which we haven't got any complaints for, has made us believe that
>> > there might not be many users of these tools. I'm writing to the list to
>> > find out if this is correct...
>> > Are you using log_mf_h (e.g. by setting environment variables
>> > 'error_logger_mf_*' in sasl) and rb? If so, why - is it the log
>> rotation or
>> > the binary logging (or both) that you are really after? Have you
>> > alternative tools?
>> > Kind Regards
>> > /siri@REDACTED
>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions