rewite logging server