On Mon, 9 Dec 2002 19:54, Patteet Marc wrote:
> I just want to submit a small "bug" in the Logkit application.
> If you make an Array LogTargets[] of, for example two, elements and you
> only assign one LogTarget then the Logger methods(debug, info, ...) return
> a NullPointer Exception although the logging is executed well.
> So perhaps the Logger class should perform a check for this.

sounds good to me!

> Also maybe a suggestion for a next release: a database LogTarget ?

There is two already - one for normalized tables and one for denormalized 
tables. Have a look at

org.apache.log.output.db.DefaultJDBCTarget
org.apache.log.output.db.NormalizedJDBCTarget

for an example of their setup have a look at 

src/test/org/apache/log/output/test/DBTargetTestCase.java

-- 
Cheers,

Peter Donald
*----------------------------------------------------*
|    "the mother of idiots is always pregnant."      |
*----------------------------------------------------*


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to