logger exercise