implemented logfile that logs attenuation changes with a timestamp

Signed-off-by: Benjamin Vahl <benjamin.vahl@googlemail.com>