Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-523

Add in error handling for rollover errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • None

    Description

      As reported in a PR, if the rollover fails(because you have run out of memory for example), then logging will stop. The only error that the user sees is that an exception occurred during the rollover. This is very unhelpful.

      In order to fix this, update the RollingFileAppender classes to call the error handler if an error happens during rollover. The error handler should already be defined as part of the parent Appender class.

      Attachments

        Issue Links

          Activity

            People

              rmiddleton Robert Middleton
              rmiddleton Robert Middleton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: