splitted logging and metrics into two definitions
Worked on the talk