Updated MEGA logger