######## # log4j configuration file. ######## ######### # Valid thresholds can be: # OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL # # The default logger that is used prints out log statements # on the console. If you want those redirected to a file, # enable TextFile logger. If you want those stored in an xml # format (either for chainsaw or for inclusing in xml documents) # use the XMLFile logger. If you want to use chainsaw to watch # the logs of a running application use the "socket" logger ######## # Set the root loggers log4j.rootLogger=OFF, stdout, TextFile, XMLFile,socket ###### # The TextFile logger # if you want to enable logging to file in standard format: # 1. comment out the first line # 2. uncomment/edit the other lines # to disable this type of logging do the oppposite. log4j.appender.TextFile=org.apache.log4j.varia.NullAppender #log4j.appender.TextFile=org.apache.log4j.RollingFileAppender #log4j.appender.TextFile.File=log.txt #log4j.appender.TextFile.MaxFileSize=50MB #log4j.appender.TextFile.MaxBackupIndex=5 #log4j.appender.TextFile.layout=org.apache.log4j.PatternLayout #log4j.appender.TextFile.layout.ConversionPattern=%-6r %-5p [%t] %c{2}.%M - %m%n #log4j.appender.TextFile.ImmediateFlush=true ######## ###### # The XMLFile logger # if you want to enable logging to XML file for the chainsaw viwer: # 1. comment out the first line # 2. uncomment/edit the other lines # to disable this type of logging do the oppposite. log4j.appender.XMLFile=org.apache.log4j.varia.NullAppender #log4j.appender.XMLFile=org.apache.log4j.RollingFileAppender #log4j.appender.XMLFile.File=log.xml #log4j.appender.XMLFile.MaxFileSize=100MB #log4j.appender.XMLFile.MaxBackupIndex=5 #log4j.appender.XMLFile.layout=org.apache.log4j.xml.XMLLayout #log4j.appender.XMLFile.layout.LocationInfo=true #log4j.appender.XMLFile.ImmediateFlush=false ##### ######### # The "socket" logger # If you want to use the Chainsaw viewer on a running program: # 1. comment out the first line # 2. uncomment/edit the other lines # to disable this type of logging do the oppposite. # Make sure the viewer is running before starting limewire! log4j.appender.socket=org.apache.log4j.varia.NullAppender #log4j.appender.socket=org.apache.log4j.net.SocketAppender #log4j.appender.socket.RemoteHost=localhost #log4j.appender.socket.port=4445 #log4j.appender.socket.LocationInfo=true ######### # stdout is set to be ConsoleAppender sending its output to System.out log4j.appender.stdout=org.apache.log4j.ConsoleAppender #log4j.appender.stdout.target=System.err # stdout uses PatternLayout. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout # The conversion pattern is: # time elapsed since start of logging (left justified, pads extra spaces if less than 0) # logging priority (left justified, pads extra spaces if less than 5) # [thread name] # packagename.classname.methodname (only the last part of the package is kept) # - message # newline log4j.appender.stdout.layout.ConversionPattern=%-6r %-5p [%t] %c{2}.%M[%L] - %m%n ### To set the value for specific classes/packages, use the following format: ## log4j.logger.=LEVEL # log4j.logger.com.limegroup.gnutella.gui=INFO # would turn logging for the GUI to the INFO level # # log4j.logger.com.limegroup.gnutella.uploader=INFO # would turn logging for the uploader package to the INFO level # # log4j.logger.com.limegroup.gnutella.gui.GUIMediator=INFO # would turn logging for the GUIMediator class to the INFO level # # log4j.logger.httpclient.wire=ALL # will log all information read/written from/to the network using HttpClient log4j.logger.com.limegroup.mojito=ERROR log4j.logger.com.limegroup.mojito.db=ERROR log4j.logger.com.limegroup.mojito.result=ERROR log4j.logger.com.limegroup.mojito.io=ERROR log4j.logger.com.limegroup.mojito.manager=ERROR log4j.logger.com.limegroup.mojito.handler=ERROR log4j.logger.com.limegroup.mojito.handler.DefaultMessageHandler=ERROR log4j.logger.com.limegroup.mojito.handler.request=ERROR log4j.logger.com.limegroup.mojito.handler.response=ERROR log4j.logger.com.limegroup.mojito.messages=ERROR log4j.logger.com.limegroup.mojito.messages.impl=ERROR log4j.logger.com.limegroup.mojito.routing=ERROR log4j.logger.com.limegroup.mojito.routing.RandomBucketRefresher=ERROR log4j.logger.com.limegroup.mojito.routing.impl=ERROR log4j.logger.com.limegroup.mojito.routing.impl.RemoteContact=ERROR