Fixed loggin usage.