Re: RollingFileAppender enhancement for file compression

2022-05-04 Thread Matt Sicker
That sounds pretty useful to me. Using the existing compression actions could make it so you can more easily support other compression formats. On Wed, May 4, 2022 at 4:44 PM Alexander Lambert (HE/HIM) wrote: > > Hi all, > > We have a local modification to logging-log4j2/log4j-core that we are ho

RollingFileAppender enhancement for file compression

2022-05-04 Thread Alexander Lambert (HE/HIM)
Hi all, We have a local modification to logging-log4j2/log4j-core that we are hoping to contribute back to open source. We modify the RollingFileAppender, adding a config option to compress the file as it is originally written instead of on rollover. The value of this is in reducing the volume

Re: Query regarding migration of properties file from log4j1.x to log4j2.x

2022-05-04 Thread Piotr P. Karwasz
Hi Nilay, On Wed, 4 May 2022 at 14:49, Nilay Prafulla Dhamecha wrote: > *Old Properties file (Log4j1.x) : * > *#Appenders* > log4j.appender.file_logger=com.share.util.LogFileAppender > ... *Migrated Properties file (Log4j2.17.1) : *status = warn > ... > appender.file_logger.type=BWLogFile > ...

Query regarding migration of properties file from log4j1.x to log4j2.x

2022-05-04 Thread Nilay Prafulla Dhamecha
Hi, We have migrated our logging framework from log4j1.x to log4j2.17.1 We are trying to migrate the properties file but some of the loggers are not working after the migration. *Old Properties file (Log4j1.x) : * *#Appenders* log4j.appender.file_logger=com.share.util.LogFileAppender log4j.append