Fixed bug in DirectLogger. so it doesn't fail if all properties haven't been initialized