starting logging