Something similar to what URCL does where you get a Supplier<ByteBuffer[]> would be great for keeping things within the same log file.