logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Thomas <greg.d.tho...@gmail.com>
Subject Re: Zipped rolling file - name of file entry
Date Fri, 09 Dec 2016 08:46:48 GMT
> So, to clarify, the file contained in the rolled over zip files (like
"my.20.log.zip") is called "my.1.log"

Correct. An error in composing my original email, apologies.

Greg

On 8 December 2016 at 23:52, Remko Popma <remko.popma@gmail.com> wrote:

> Greg,
>
> So, to clarify, the file contained in the rolled over zip files (like
> "my.20.log.zip") is called "my.1.log", not "my.1.log.zip", correct?
> (Your original email said the rolled over zip files contain zip files,
> which sounds like a bug...)
>
> Sent from my iPhone
>
> > On 9 Dec 2016, at 2:35, Greg Thomas <greg.d.thomas@gmail.com> wrote:
> >
> >> On 8 December 2016 at 15:58, Apache <ralph.goers@dslextreme.com> wrote:
> >>
> >> That indeed does seem strange. I will have to try it myself. You may
> have
> >> found a bug.
> >
> >
> > Thinking on this a bit more ...
> >
> > At a point in time, my.1.log is zipped to my.1.log.zip
> >
> > Some time later, my.1.log.zip is renamed to my.2.log.zip - in terms of
> > effort, it's possible to either
> >
> > a) Leave the contents of the ZIP file unchanged. so my.2.log.zip (and
> > my.XXX.log.zip) all contain my.1.log - what currently happens
> >
> > b) When my.1.log.zip is renamed to my.2.log.zip, recognise that it only
> > contains one file, and rename the contained file from my.1.log to
> my.2.log
> > (is it possible to rename a file contained in a ZIP without re-creating
> it?
> > What about gzip files, etc. etc.?)
> >
> > c) When it's necessary to rename my.1.log.zip to my.2.log.zip, recognise
> > that it only contains one file, extract my.1.log, rename it to my.2.log,
> > and then zip it up into my.2.log.zip.
> >
> > Greg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message