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

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

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • logback-core
    • 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

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

            Dates

              Created:
              Updated: