Re: [Asterisk-java-users] Logging -- was "Re: pre-packaged jars"
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-04-11 23:48:02
|
On Mon, 2005-04-11 at 14:38 -0700, Steve Drach wrote: > Why not just use the logging built into Java? It does the same thing > in this simple case. You are right, using Java's builtin logging is an alternative. I see two problems with this approach though: 1. Asterisk-java using Java's logging would require JDK 1.4 at least. Currently it also works with 1.3. 2. Some application servers and servlet containers (e.g. JBoss) are using log4j for logging. Commons-logging uses log4j when available, too. So when using Asterisk-java within such a container logs are easily integrated. I am not sure this works equally well when using Java's logging without a wrapper around. =3DStefan |