Increase Trunctae value in Nlog

Hi,
I want to set the truncate value for my logs to 20000. I tried what is explained in this topic

Below is the screenshot of my Nlog.config file

but it’s not working. I’ve also tried the following regex and these don’t work either.

(^(?:\S+\s+\n?){0, 20000}) 
^[\s\S]{20000}

It’s really urgent Can someone please help me with that? I will really appreciate that.

I contacted UiPath and they told me that 10,000 is the maximum limit for truncate. We can can curb it to anything less than that.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.