Digester uses Commons-Logging .
If you have a log4j.jar in the classpath and a log4j.properties whith :

log4j.rootCategory=debug,stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d [%5p %c] console - %m%n

log4j.category.org.apache=DEBUG

you will get too much logging in console ...

Gao Di wrote:

>i find the setlogger() and getlogger() method in
>digester,but i have never used any log api,anyone can
>tell me how to use it and let me see the log
>infomation to help me debug?
>
>_________________________________________________________
>Do You Yahoo!?
>150万曲MP3疯狂搜,带您闯入音乐殿堂
>http://music.yisou.com/
>美女明星应有尽有,搜遍美图、艳图和酷图
>http://image.yisou.com
>1G就是1000兆,雅虎电邮自助扩容!
>http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>
-------------------------------------------------------------------------------------------------------------------
Este correo electr?ico y, en su caso, cualquier fichero anexo al mismo, contiene 
informaci? de car?ter confidencial exclusivamente dirigida a su destinatario o 
destinatarios. Queda prohibida su divulgaci?, copia o distribuci? a terceros sin la 
previa autorizaci? escrita de Indra. En el caso de haber recibido este correo 
electr?ico por error, se ruega notificar inmediatamente esta circunstancia mediante 
reenv? a la direcci? electr?ica del remitente.

The information in this e-mail and in any attachments is confidential and solely for 
the attention and use of the named addressee(s). You are hereby notified that any 
dissemination, distribution or copy of this communication is prohibited without the 
prior written consent of Indra. If you have received this communication in error, 
please, notify the sender by reply e-mail

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

Reply via email to