So, I'm currently running a Java application that will work for several days. He records a lot. Unfortunately, I accidentally deleted the log file, so now the log is no longer written. Is there a way to restart logging on the fly without restarting a real Java program? I tried to recreate the file with the same name, but it does not write. Any ideas? I am using java.util.logging .
source share