[erlang-questions] Should we deprecate or modernize log_mf_h and rb?
Andrew Thompson
andrew@REDACTED
Fri Feb 15 22:09:38 CET 2019
On Fri, Apr 08, 2016 at 02:36:37PM +0200, Siri Hansen wrote:
> Thanks for the feedback, everyone!
>
> We have now decided not to remove log_mf_h and rb. Instead there will be
> some work done to modernize these tools.
The big problem we had with these at Basho (RIP) was that customers had
no idea how the log files worked because it's very different to
traditional UNIX logging. Usually you have things like app.log,
app.log.0, ... app.log.N and the number indicates their age. log_mf has
a weird index file where the active log file is encoded as a decimal
value (not ASCII, IIRC). This is very confusing for everyone who is not
an Erlang user (maybe even for them judging by this thread).
The main thing I'd like to see improve is the ergonomics. Make it work
more like a sysadmin would expect, have the newest log file be .0 and
dump the index. Every time you overflow move the files around to reflect
that.
Andrew
More information about the erlang-questions
mailing list