Forum Discussion

trans-am's avatar
trans-am
Occasional Contributor
2 years ago

Groovy: Redirect log.info output from console to the file

With Groovy I can create directory and file so following lines works fine:   def file = new File("C:/Log") // create directory Log file.mkdir() def newFile = new File("C:/Log/log.txt") // create ...