Re: [Asterisk-java-users] How to Disable or Redirect log/debugging info
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2007-09-09 15:11:11
|
H=E9ctor Maldonado wrote: > Just one simple question: Is there any way to disable messages that AJ > sends to stdout or simply redirect these messages to a file? =20 Asterisk-Java uses commons-logging so you can easily configure what kind of messages you want to log and where the messages should be written to. Basically there are two options: By default commons-logging uses java.util logging so you can have a look at the JDK documentation on how to configure it. The second option is to put a log4j.jar on your classpath along with a log4j.properties file to configure it. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |