content length configurable
log for statusCode