Fixed logging
Fixed logging