X
xyzzy12
We need to compress log files while they are being written out. We put
in the GZIP output stream classes and at first look they work fine BUT
you have to wait a good amount of time before they start to write
anything out (the file size remains small). After the stream gets a
chance to churn over a bunch of data then it starts to write out. But
its behind. Its pretty annoying for troubleshooting and that is what
we have the logs for! Is compression stream that we can use that is
optimized for regular text that we can use that doesn't need to buffer
stuff up so much? Can we "preseed" the gzip class so it will start to
write out sooner?
any suggestions?
in the GZIP output stream classes and at first look they work fine BUT
you have to wait a good amount of time before they start to write
anything out (the file size remains small). After the stream gets a
chance to churn over a bunch of data then it starts to write out. But
its behind. Its pretty annoying for troubleshooting and that is what
we have the logs for! Is compression stream that we can use that is
optimized for regular text that we can use that doesn't need to buffer
stuff up so much? Can we "preseed" the gzip class so it will start to
write out sooner?
any suggestions?