<p>I really like this "old" error logger, it's *easily* one of the fastest around actually, since it can leave formatting to read time! I've hacked it to truncate overlong entries. The rb application is also easily hackable to suit your needs. I have a version that looks up formatting functions based on a bit of metadata in the logged "messages".</p>
<p>The major boon of being so blindingly fast, is that you do not have to set log levels at logging time. Instead you choose which log level you want to see when investigating!</p>
<p>Unfortunately, straight logged binary data and formatting it at read time appears to be majorly out of fashion :-(</p>
<p>Oh well.</p>
<p>If you want to keep it, I think it would be worth adding the truncation bit, or make it accept any size log message.</p>
<p>Cheers,<br>
Robby</p>
<div class="gmail_quote">On Apr 1, 2016 12:44 PM, "Siri Hansen" <<a href="mailto:erlangsiri@gmail.com">erlangsiri@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello list!</div><div><br></div>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... <div><br></div><div>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 considered alternative tools?</div><div><br></div><div>Kind Regards</div><div>/siri@otp</div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div>