Is it possible to configure java.util.logging to compress log files when it "rolls" to a new log file? For example, extracting from my log configuration file is as follows:
java.util.logging.FileHandler.level = ALL java.util.logging.FileHandler.pattern = /blah.log java.util.logging.FileHandler.limit = 10000000 java.util.logging.FileHandler.count = 5
Ideally, I would like current log messages to be written to blah.log.0, keeping blah.log.1.gz, blah.log.2.gz, etc.
Also note that I do not want to use a different logging structure.
java logging
Adamski
source share