Git Product home page Git Product logo

Comments (6)

wilx avatar wilx commented on May 27, 2024

This roll on close behaviour is historical. I am not sure if it is necessary, though. DailyRollingFileAppender is a strange beast. I guess what we can do is to and a property that would allow you to turn this roll-over on close off.

from log4cplus.

amorozov avatar amorozov commented on May 27, 2024

Would you mind if I add RotateOnShutdown property to DailyRollingFileAppender and probably TimeBasedRollingFileAppender ? Actually I have implemented the change locally and it seems it solves the issue. Of course the name of the property is the subject to discuss

from log4cplus.

wilx avatar wilx commented on May 27, 2024

Not at all. Just keep the default as is the current historical behaviour.

from log4cplus.

wilx avatar wilx commented on May 27, 2024

Also, unless RotateOnShutdown already exists elsewhere (log4j, log4net, etc.) let's use a different name: RollOnClose.

from log4cplus.

amorozov avatar amorozov commented on May 27, 2024

I've created a pull request for this issue, as well as two other small pull request and a merge for your convenience.

from log4cplus.

amorozov avatar amorozov commented on May 27, 2024

closed as #123

from log4cplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.