Logging, small fix