Data logging implemented