Log4j template # log4j. rootlogger = debug, file
Log4j. rootlogger = info, stdout, file
### Direct log messages to stdout ###
Log4j. appender. stdout = org. Apache. log4j. leleappender
Log4j. appender. stdout. Target = system. Out
Log4j. appender. stdout. layout = org. Apache. log4j. patternlayout
Log4j. appender. stdout. layout. conversionpattern = % d {absolute} % 5 P % C: % L-% m % N # direct messages to file toptais. log ###
Log4j. appender. File = org. Apache. log4j. rollingfileappender
Log4j. appender. file. maxfilesize = 10 MB
Log4j. appender. file. maxbackupindex = 10
Log4j. appender. file. File = project. Log
Log4j. appender. file. layout = org. Apache. log4j. patternlayout
Log4j. appender. file. layout. conversionpattern = % d %-5 p [% T] (% 13f: % L) % 3x-% m % N
### Log prepared statement cache activity ###
Log4j.logger.org. hibernate = Error
Log4j.logger.com. topsoft = Error
Log4j.logger.org. Apache = Error
Log4j.logger.net. Sf = Error
# Log4j. Logger. Data = info
# Log4j. Logger. commondata = info