Changed syntax of logging