[erlang-questions] Should we deprecate or modernize log_mf_h and rb?

Matthias Lang matthias@REDACTED
Mon Apr 4 22:49:48 CEST 2016


On 01. April 2016, Siri Hansen wrote:

> Are you using log_mf_h

In 2001, we used it and then abandoned it for two main reasons:

  1. There was at least one bug in about R7 which made binary_to_term()
     crash the entire VM for some input. This made _reading_ logs after
     a power failure dangerous.

  2. We had very limited space (less than 1 MB) for logging in earlier
     generations of our hardware. text logging + trunc_io (now in
     lager) + gzip gave us more log-per-MB than binary logging
     (without gzip; AFAIK it's not an option).

The logging system we ended up using is completely home-made.

Matthias



More information about the erlang-questions mailing list