Re: Using log4j1.2.17 foter is not getting added to each log file in rollingfileappender

2016-01-05 Thread Anshu Garg1
Hi, Due to limited time left now for us to complete our logging application, today we finally achieved valid JSON files with Log4j1 itself, of course it is not without few undesired restrictions we put on format. We implemented an Action class to open a log file and write footer to it. This

Re: Using log4j1.2.17 foter is not getting added to each log file in rollingfileappender

2016-01-05 Thread Ralph Goers
Remember, you can now use the CronTriggeringPolicy which does not use the filePattern. Ralph > On Jan 5, 2016, at 6:49 AM, Remko Popma wrote: > > FWIW, decoupling the filePattern from the rollover frequency is one of the > things I had in mind with > > 1. LOG4J2-1198

Re: Using log4j1.2.17 foter is not getting added to each log file in rollingfileappender

2016-01-05 Thread Remko Popma
FWIW, decoupling the filePattern from the rollover frequency is one of the things I had in mind with 1. LOG4J2-1198 . On Tuesday, 5 January 2016, Gary Gregory wrote: > On Mon, Jan 4, 2016 at 11:04 PM, Anshu Garg1

Re: Using log4j1.2.17 foter is not getting added to each log file in rollingfileappender

2016-01-05 Thread Simon Park
FWIW, if you're stuck on Log4J 1.2.17, you could use the TimeAndSizeRollingAppender available from www.simonsite.org.uk to solve this use case. Best Regards, Simon Sent from my iPad > On 5 Jan 2016, at 06:14, Anshu Garg1 wrote: > > Hi, > > We have extended

Re: Using log4j1.2.17 foter is not getting added to each log file in rollingfileappender

2016-01-05 Thread Gary Gregory
On Tue, Jan 5, 2016 at 2:51 PM, Remko Popma wrote: > Thanks for raising these issues. In addition to Gary's response, can I ask > some more questions to clarify? > > 1. Does LOG4J2-1101 > capture > your first requirement

Re: Using log4j1.2.17 foter is not getting added to each log file in rollingfileappender

2016-01-05 Thread Remko Popma
Thanks for raising these issues. In addition to Gary's response, can I ask some more questions to clarify? 1. Does LOG4J2-1101 capture your first requirement for a date in the pre-rollover file name? 3. I believe you are already verifying the