changed k_traceBufSize to 5000