simple logging hw + sw