Alarm logger for Erlang systems using Mnesia