'Increase verbose logging character limit

Im trying to use verbose logging to extract some information from the chroem console, however the issue im finding is the data is being truncated to 200 characters.

Im basically just using

System.setProperty("webdriver.chrome.logfile", "C:\\IdeaProjects\\chromelogs1.txt");
System.setProperty("webdriver.chrome.verboseLogging", "true");

Which is working fine other than

[1653391262.746][DEBUG]: DevTools WebSocket Event: Runtime.consoleAPICalled 
58190AADB5BF46470E25096553F2DF44 {
"args":  [ {
  "type": "string",
  "value": "OPENING ssssliiiiilnoting://launch?iss=http%3A%2F%2Fukdc1-docker -  
mx%3A8084%2Fimsauth%2Ffhir&launch=%7B%22 
authToken%22%3A%22eyJhbGcijjghjghyuy9.eyJzdWIiOiIxM 
TQyIiwiaWF0IjoxNjUzMzkxMTg2LCJleHAiOjE2N..."

Ive tried:

System.setProperty("webdriver.chrome.verboseLogging", "logmaxsize=5000");

But it only seems to remove all log type except INFO



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source