handle master logs