i got problem..!!
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   LOCY_0000
Posted On:   Monday, June 23, 2003 02:08 AM

i want to use log4j in jsp page ...how do i put other java bean's log together..because my java bean has hieracy log architure..but jsp doesn't... i plan to add jsp log4j object into other java bean'log object..but i fail...does anyone know how to solve ...? thank you very much.. # configuration for Log4j log4j.debug=true # set log level to debug log4j.rootLogger=debug, com.usr.trx.efin log4j.logger.com.usr.trx.efin.action.CBEFINBuyerSeller=debug, jspPattern log4j.additivity.com.usr.trx.efin.action.CBEFINBuyerSeller=true # attribute of log file name and format log4j.appender.com.usr.trx.efin=org.apache.log4j.DailyRollingFileAppender log4j.appende   More>>

i want to use log4j in jsp page ...how do i put other java bean's log together..because my java bean has hieracy log architure..but jsp doesn't...
i plan to add jsp log4j object into other java bean'log object..but i fail...does anyone know how to solve ...?
thank you very much..


# configuration for Log4j

log4j.debug=true

# set log level to debug
log4j.rootLogger=debug, com.usr.trx.efin
log4j.logger.com.usr.trx.efin.action.CBEFINBuyerSeller=debug, jspPattern
log4j.additivity.com.usr.trx.efin.action.CBEFINBuyerSeller=true

# attribute of log file name and format

log4j.appender.com.usr.trx.efin=org.apache.log4j.DailyRollingFileAppender
log4j.appender.com.usr.trx.efin.File=efinlog.txt
log4j.appender.com.usr.trx.efin.DatePattern=.yyyy-MM-dd
log4j.appender.com.usr.trx.efin.layout=org.apache.log4j.PatternLayout
log4j.appender.com.usr.trx.efin.layout.ConversionPattern=%d{HH:mm:ss} %-5p [%c{2}] - %m%n


# attribute of log file name and format

log4j.appender.jspPattern=org.apache.log4j.DailyRollingFileAppender
log4j.appender.jspPattern.File=efinlog.txt
log4j.appender.jspPattern.DatePattern=.yyyy-MM-dd
log4j.appender.jspPattern.layout=org.apache.log4j.PatternLayout
log4j.appender.jspPattern.layout.ConversionPattern=%d{HH:mm:ss} %-5p[%c{2}] - %m%n

   <<Less
About | Sitemap | Contact