log improvement
improved logging