logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <elihusma...@gmail.com>
Subject Re: Is there a way to make Eclipse recognize log4j messages in its console buffer and hyperlink to the statement that created it?
Date Wed, 01 Feb 2006 15:08:33 GMT
sorry for the nube question, but are you talking about Eclipse being able to
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 <stephen_schaub_88@hotmail.com> wrote:
>
> Thorbjørn Ravn Andersen <nospam0000 <at> 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=
>    %d{HH:mm:ss} %-5p - %m [at %C.(%F:%L)]%n
>
> See more info here:
>
> http://www.digital-seven.net/index.php?option=com_content&
> task=view&id=35&Itemid=45
>
> Regards,
>
> Stephen Schaub
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message