Re: Making object rendering more extensible

2002-03-04 Thread Endre Stølsvik
On Tue, 26 Feb 2002 [EMAIL PROTECTED] wrote: | I use two appenders: one ConsoleAppender and the other JMSAppender | | log4j.rootCategory=DEBUG, A1,A2 | log4j.appender.A1=org.apache.log4j.net.JMSAppender | . | log4j.appender.A2=org.apache.log4j.ConsoleAppender | . | | Right now, as I under

Re: Making object rendering more extensible

2002-02-26 Thread qding
I use two appenders: one ConsoleAppender and the other JMSAppender log4j.rootCategory=DEBUG, A1,A2 log4j.appender.A1=org.apache.log4j.net.JMSAppender . log4j.appender.A2=org.apache.log4j.ConsoleAppender . Right now, as I understand, the priority for both appender is Debug. How can I set

Re: Making object rendering more extensible

2002-02-13 Thread Lance Larsen
> You can have the 'ObjectRenderer' act sort of like a > 'Hashtable' and have keys for the various 'String(s)' an 'ObjectRenderer' > exposes. For example, an 'ObjectRenderer' for 'FTPCommandInfo' might expose > keys like "Client IP", "Server IP", "Port", etc. that were associated with > the corres

Re: Making object rendering more extensible

2002-02-13 Thread Lance Larsen
> Your example illustrates the problem well but, IMHO, the proposed > solution falls far short of what's needed. > > It is common to let admins control the format of log files. If you > consider HTTP servers rather than ftp servers they probably all have > configurable formatting of log entries.

Re: Making object rendering more extensible

2002-02-13 Thread Lance Larsen
> As I follow this thread of discussion I find myself concerned that > there is a serious issue here which needs to be correctly identified. > > So far as I am concerned, log4 is a really great tool for controlling > the generation and handling the downstream distribution of log records. > It is n

Re: Making object rendering more extensible

2002-02-13 Thread Anders Kristensen
] > Sent: Tuesday, February 12, 2002 11:00 PM > To: Log4J Developers List > Cc: Lance Larsen > Subject: Re: Making object rendering more extensible > > > Your example illustrates the problem well but, IMHO, the proposed > solution falls far short of what's needed. >

RE: Making object rendering more extensible

2002-02-13 Thread Leathers, Burton
rs List Cc: Lance Larsen Subject: Re: Making object rendering more extensible Your example illustrates the problem well but, IMHO, the proposed solution falls far short of what's needed. It is common to let admins control the format of log files. If you consider HTTP servers rather than f

Re: Making object rendering more extensible

2002-02-12 Thread Anders Kristensen
ogical extension. > > Log4j really is an excellent product. I hope that you will consider the > changes I have suggested because I think it would help make log4j more > extensible to meet a broader set of needs in a clean and clear fashion. > Please let me know if there is anyt

Re: Making object rendering more extensible

2002-02-12 Thread Ceki Gülcü
I'll keep this short and sweet. You'll see the feature you requested in log4j 1.3 for sure, and perhaps even in log4j 1.2. Thank you for taking the time to explain your requirement. It was instructive and convincing. Regards, Ceki At 13:55 12.02.2002 -0700, Lance Larsen wrote: >I reviewed the e-

Re: Making object rendering more extensible

2002-02-12 Thread Lance Larsen
I reviewed the e-mail I sent, and noticed a few places that I should clarify a bit more. This may not be necessary, but in case it helps convey things a little more clearly, here it is. Notice that if you remove my comments, this is all part of one section that is complete (that admittedly had som

Re: Making object rendering more extensible

2002-02-12 Thread Lance Larsen
gain for an excellent product. -Lance Larsen > This might be another case where Anders is a few steps ahead of me. It > has happened in the past... so I am all ears. > TIA, Ceki > ps: Would it be sufficient if Appender and layouts accepted configuration > directives for elements

Re: Making object rendering more extensible

2002-02-07 Thread Ceki Gülcü
Lance, Anders, I still don't see the *practical* use of having the renderer depend on the layout or appender. Would it be possible for you to describe a practical case where such functionality would be useful. This might be another case where Anders is a few steps ahead of me. It has happened in

Re: Making object rendering more extensible

2002-02-07 Thread Anders Kristensen
Lance, You're absolutely right that this is a crippling limitation. I argued this point with some vigor a long time ago but with zero luck. What I would have liked to see is: 1) configurable ObjectRendererd, and 2) the ability to have per-category ObjectRenderers This would allow us to lo

Making object rendering more extensible

2002-02-07 Thread Lance Larsen
I have looked through the dev list to see if this has come up, but I haven't seen anything so far. I have been using log4j on a few projects, and like the configurability and extensibility it provides - very nice - thankyou for the excellent tool. However, there seems to be one part of the arc