Return-Path: Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: (qmail 72515 invoked from network); 15 Mar 2010 07:10:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Mar 2010 07:10:50 -0000 Received: (qmail 50285 invoked by uid 500); 15 Mar 2010 07:10:04 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 50088 invoked by uid 500); 15 Mar 2010 07:10:02 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 50079 invoked by uid 99); 15 Mar 2010 07:10:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 07:10:01 +0000 X-ASF-Spam-Status: No, hits=-1016.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 07:10:00 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 1FEB6234C1F0; Mon, 15 Mar 2010 07:09:40 +0000 (UTC) From: bugzilla@apache.org To: log4j-dev@logging.apache.org Subject: DO NOT REPLY [Bug 48907] Implement zeroconf support for additional receivers X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Other X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sdeboy@iname.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: log4j-dev@logging.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20100315070940.1FEB6234C1F0@brutus.apache.org> Date: Mon, 15 Mar 2010 07:09:40 +0000 (UTC) https://issues.apache.org/bugzilla/show_bug.cgi?id=48907 --- Comment #1 from Scott Deboy 2010-03-15 07:09:37 UTC --- What is needed to implement this feature? - Define supported service names (and optionally supported name/value keys) - Implement ZeroConf support for all appropriate receivers and appenders - Implement auto-creation of a receiver configuration in Chainsaw based on a discovered service Proof of concept implementation I've implemented a proof of concept which adds support for ZeroConf to the MulticastAppender & receiver, SocketAppender & receiver, SocketHubAppender & receiver (sockethubappender already has support via a subclass, but that won't be needed going forward), UDPAppender and receiver, and XMLSocketReceiver. Each of these appenders and receivers now contains a new member: advertiseViaMulticastDNS When activateOptions is called, if the value of this property is 'true', a new class in the core log4j tree (ZeroConfSupport) is instantiated and the appender or receiver 'service' is registered via JmDNS. The service is unregistered when the appender or receiver is closed/shut down. Service names need to be defined and documented in order to support advertisement of appenders as well as auto-configuration of receivers in Chainsaw based on these service names. This will allow other logging frameworks to register appender configurations and have Chainsaw automatically construct an appropriate receiver configuration. It will also allow those applications to discover receivers (possibly defined in Chainsaw) which they can send their events to. Thoughts? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org