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

support socket server configuration using JoranConfigurator

    XMLWordPrintable

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.12
    • None
    • None
    • None

    Description

      This feature will provide support for configuring a socket server in logback.xml, thus allowing any LoggerContext to be a receiver for remote log events. This approach provides better configurability than the simple command line approach used in SimpleSocketServer, and is especially useful when using SSL, as there are many more configurable properties.

      This will require a new socket server implementation. The existing SimpleSocketServer depends on having a fully configured LoggerContext available at the time it is created. However, if the socket server is created during JoranConfigurator.doConfigure, the LoggerContext might not be ready to receive logging events from remote loggers. The new socket server implementation will allow late resolution of the target LoggerContext for the logger events received from remote loggers.

      This feature will require documentation updates, but it is not completely clear where the documentation belongs – it does not seem to fit any of the existing chapters of the logback manual.

      I will provide pull requests for the implementation.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            ceharris Carl Harris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: