In case there's packets that causes a crash, try to save so it's possible to inspect later.
May also include using a timer to flush ever so often so that if there's a JVM crash or a SIGKILL, it can still save something, although potential caveat that it may miss something unless there's an on every packet mode as well.
In case there's packets that causes a crash, try to save so it's possible to inspect later.
May also include using a timer to flush ever so often so that if there's a JVM crash or a SIGKILL, it can still save something, although potential caveat that it may miss something unless there's an on every packet mode as well.