turn on logging and compression
support limit parameter