Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-247

An ability to use external thread pool executor service for async rolling tasks.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: logback-core
    • Labels:
      None

      Description

      At this moment, compression tasks are managed by the means of logback-core, for example, TimeBasedRollingPolicy creates AsynCompressor task for each policy instance and creates as many compression threads, as many TimeBasedRollingPolicy instances present in the logger context. In the systems with great number of "fat" log files it may cause performance issues with filesystem.
      It would be much better if logback-core allowed to define external thread pool executor service and reuse it for such async tasks.

      Thanks

        Attachments

          Activity

            People

            • Assignee:
              logback-dev Logback dev list
              Reporter:
              amorozov Alexander Morozov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: