#output debug or higher level info.stdout and fileout is appender name.
#DEBUG < INFO < WARN < ERROR < FATAL
#ex:
#debug "var's value"
#info "xx login"
#warn "user's input format error"
#error "connectting error"
#fatal "system will be terminated"
log4j.rootLogger=WARN,stdout,fileout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%p] [%d{yyy-MM-dd HH:mm:ss}] [%t] [%F:%L]%n "%m"%n
log4j.appender.fileout=org.apache.log4j.RollingFileAppender
log4j.appender.fileout.File=../webapps/stumanage/WEB-INF/log/log.log
log4j.appender.fileout.MaxFileSize= 100KB
log4j.appender.fileout.MaxBackupIndex=1
log4j.appender.fileout.layout=org.apache.log4j.PatternLayout
log4j.appender.fileout.layout.ConversionPattern=[%p] [%d{yyy-MM-dd HH:mm:ss}] [%t] [%F:%L]%n "%m"%n
谁能告诉我,那段画线的代码有什么用吗?具体点,谢谢!!