Added loging exampele
Small fixes