Re: [Asterisk-java-users] Re: Asterisk-java-users digest, Vol 1 #68 - 2 msgs
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-08-23 00:30:59
|
On Tue, 2005-08-23 at 10:05 +1000, Samant Nagpaul wrote: > I do have the log4j package in the classpath but I dont want any logging=20 > done. > So if I remove the "Log" and "LogFactory" classes from the asterisk-java=20 > package, will it work? There is no need to change Asterisk-Java for that. Just configure log4j to not log any Asterisk-Java stuff. You can change the log level for Asterisk-Java to FATAL, that would do the trick. To do that just add a log4j.properties to your classpath (if it is not there already) and include a line like log4j.logger.net.sf.asterisk =3D FATAL =3DStefan |