Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 90035 invoked from network); 1 Feb 2006 15:09:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Feb 2006 15:09:07 -0000 Received: (qmail 40534 invoked by uid 500); 1 Feb 2006 15:08:57 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 40295 invoked by uid 500); 1 Feb 2006 15:08:56 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 40084 invoked by uid 99); 1 Feb 2006 15:08:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 07:08:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of elihusmails@gmail.com designates 64.233.162.207 as permitted sender) Received: from [64.233.162.207] (HELO zproxy.gmail.com) (64.233.162.207) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 07:08:54 -0800 Received: by zproxy.gmail.com with SMTP id 40so153742nzk for ; Wed, 01 Feb 2006 07:08:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=I8vDDXDvuBuByEfeWr5BiN2pKO1CQfRx0ifQAaKIAiG3LtGDwOIcAF48Nl2/yWoS9FsmQPt57KC5rhkn0WY2FIMJI42QSAkXy2JVpq5UCG1rpIbmxbBDJxJ/AyQR+qKVwbYjbswjoQSD1yTVSJYMDw++rHBM7RLIVElijug3dQE= Received: by 10.65.254.20 with SMTP id g20mr154150qbs; Wed, 01 Feb 2006 07:08:33 -0800 (PST) Received: by 10.64.213.10 with HTTP; Wed, 1 Feb 2006 07:08:33 -0800 (PST) Message-ID: <9f066ee90602010708k776dab19xe481f94a90c3c697@mail.gmail.com> Date: Wed, 1 Feb 2006 10:08:33 -0500 From: Mark To: Log4J Users List Subject: Re: Is there a way to make Eclipse recognize log4j messages in its console buffer and hyperlink to the statement that created it? In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12523_28142338.1138806513289" References: <3FF5836A.2070202@c.dk> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_12523_28142338.1138806513289 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline sorry for the nube question, but are you talking about Eclipse being able t= o log its own internal messages, or Eclipse running an use developed application and formatting the log messages to its console? Thanks. On 2/1/06, Stephen Schaub wrote: > > Thorbj=F8rn Ravn Andersen c.dk> writes: > > > > > We use Eclipse for development and I like the way that stacktraces are > > shown and linked to the underlying source, so I was pondering whether > > similar functionality is possible for the numerous debug messages we > > have? I looked at the Ganymede plugin, but it requires an alternate > > log4j configuration, which I would prefer not to have. > > > > Is there other approaches for this? Or should I look into conditional > > configuration files? > > > > It's been a long time since this original post, but I was looking for a > solution, found it, and thought I would share it for the archives: > > Here's a log4j ConversionPattern I use that gives hyperlinked > log messages in my Eclipse 3.1.1 console: > > log4j.appender.A1.layout.ConversionPattern=3D > %d{HH:mm:ss} %-5p - %m [at %C.(%F:%L)]%n > > See more info here: > > http://www.digital-seven.net/index.php?option=3Dcom_content& > task=3Dview&id=3D35&Itemid=3D45 > > Regards, > > Stephen Schaub > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > For additional commands, e-mail: log4j-user-help@logging.apache.org > > ------=_Part_12523_28142338.1138806513289--