limit log row size, add OPTIONS support