Due to Salesforce logsize limit (250 MB) I have to reduce the log file issued from one of our process in the org. After a lot of code-optimization and removing all useless statements the logfile is still big enough to reach the limit.
I noticed that most of the payload in the logfile seems to be provided from "variable assignment" event so my question is, can I avoid this writing during the code running (process launched from dev. console from Anonymous window). I also want to avoid debug level modification if possible
To be clear, I don't want to prevent the event itself but the event writing in the log.