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

bug in socket appender documentation

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 1.1.2
    • logback-site
    • None

    Description

      the site documentation states: "In particular, in the extreme case where the network link to the server is down, the client will be eventually blocked."

      this does not reflect the actual implementation. the socket appender uses a queue internally, which uses the time-out-based offer method when adding events to the queue. so actually the socket appender is not expected to block. however it is expected to get slower (100 ms waits on offer) when the queue producer is faster than the consumer and the queue reaches its size limit.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            sierragolf Sebastian Gröbler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: