Added start of logging