Re: renderes in context

2002-08-03 Thread Hein Meling
Maybe I don't understand your question, but wouldn't this do what you want: log.info(Context information... data: + renderableObject); ??? Cheers, Hein On Fri, 2002-08-02 at 14:39, Barry Kaplan wrote: We've just started to use renderers, as it makes things a bit cleaner. However, we

RE: feature request: logging a stack trace

2002-08-01 Thread Hein Meling
in the PatternLayout. But it will affect performance if displayed with every logging message (as will your code below, I believe). -Mark -Original Message- From: Hein Meling [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 12:48 PM To: Log4J Users List Subject

feature request: logging a stack trace

2002-07-30 Thread Hein Meling
hi. sorry if this is not the right place for this kind of request, but i don't want to subscribe to the developers list. anyway, sometimes it may be very useful to log a stack trace, even if there was no exception, in order to determine from where a method is being called. is this idea

Re: duplicate debugging output?

2002-06-14 Thread Hein Meling
Jacob Kjome wrote: It is very likely that the duplicates are entirely my fault, but I can't see how. Can someone point it out to me? Try setting the additivity flag to false; like this: logger name=jgroup level value=info/ appender-ref ref=STDOUT-INFO/ /logger logger

Re: Custom property for filepath in Config. file

2002-06-09 Thread Hein Meling
Ciao, If you use the ant build tool, you can specify the -D options quite easily in the build.xml file, and you wouldn't have to retype it for every run. See below for an example of passing -D options to an application that can be started through an ant target, 'execdaemon'. Otherwise,

Logging all to file; limit partially the console output

2002-06-04 Thread Hein Meling
Dear log4j users and experts, Here is what I want to do: Log everything to file (level debug); and log partially (level info) to the console, with some exceptions specified with finer granularity that should have level debug. My initial configuration file (see below) does not work; clearly