home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / komunikace / frostwire / frostwire-4.13.5.windows.exe / log4j.properties < prev    next >
Text File  |  2007-03-06  |  8KB  |  187 lines

  1. ########
  2. # log4j configuration file.
  3. ########
  4.  
  5. #########
  6. # Valid thresholds can be:
  7. # OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL 
  8.  
  9. #
  10. # The default logger that is used prints out log statements
  11. # on the console.  If you want those redirected to a file,
  12. # enable TextFile logger.  If you want those stored in an xml
  13. # format (either for chainsaw or for inclusing in xml documents)
  14. # use the XMLFile logger.  If you want to use chainsaw to watch
  15. # the logs of a running application use the "socket" logger
  16.  
  17. ########
  18.  
  19. # Set the root loggers
  20. log4j.rootLogger=OFF, stdout, TextFile, XMLFile,socket
  21.  
  22.  
  23. ######
  24. #  The TextFile logger
  25. # if you want to enable logging to file in standard format:
  26. # 1. comment out the first line
  27. # 2. uncomment/edit the other lines
  28. # to disable this type of logging do the oppposite.
  29.  
  30. #log4j.appender.TextFile=org.apache.log4j.varia.NullAppender
  31. log4j.appender.TextFile=org.apache.log4j.RollingFileAppender
  32. log4j.appender.TextFile.File=log.txt
  33. log4j.appender.TextFile.MaxFileSize=50MB
  34. log4j.appender.TextFile.MaxBackupIndex=5
  35. log4j.appender.TextFile.layout=org.apache.log4j.PatternLayout
  36. log4j.appender.TextFile.layout.ConversionPattern=%-6r %-5p [%t] %c{2}.%M - %m%n
  37. log4j.appender.TextFile.ImmediateFlush=true
  38. ########
  39.  
  40.  
  41. ######
  42. # The XMLFile logger
  43. # if you want to enable logging to XML file for the chainsaw viwer:
  44. # 1. comment out the first line
  45. # 2. uncomment/edit the other lines
  46. # to disable this type of logging do the oppposite.
  47.  
  48. log4j.appender.XMLFile=org.apache.log4j.varia.NullAppender
  49. #log4j.appender.XMLFile=org.apache.log4j.RollingFileAppender
  50. #log4j.appender.XMLFile.File=log.xml
  51. #log4j.appender.XMLFile.MaxFileSize=100MB
  52. #log4j.appender.XMLFile.MaxBackupIndex=5
  53. #log4j.appender.XMLFile.layout=org.apache.log4j.xml.XMLLayout
  54. #log4j.appender.XMLFile.layout.LocationInfo=true
  55. #log4j.appender.XMLFile.ImmediateFlush=false
  56. #####
  57.  
  58.  
  59.  
  60. #########
  61. # The "socket" logger
  62. # If you want to use the Chainsaw viewer on a running program:
  63. # 1. comment out the first line
  64. # 2. uncomment/edit the other lines
  65. # to disable this type of logging do the oppposite.
  66. # Make sure the viewer is running before starting limewire!
  67.  
  68. log4j.appender.socket=org.apache.log4j.varia.NullAppender
  69. #log4j.appender.socket=org.apache.log4j.net.SocketAppender
  70. #log4j.appender.socket.RemoteHost=localhost
  71. #log4j.appender.socket.port=4445
  72. #log4j.appender.socket.LocationInfo=true
  73. #########
  74.  
  75. # stdout is set to be ConsoleAppender sending its output to System.out
  76. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  77.  
  78. # stdout uses PatternLayout.
  79. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  80.  
  81. # The conversion pattern is:
  82. # time elapsed since start of logging (left justified, pads extra spaces if less than 0)
  83. # logging priority (left justified, pads extra spaces if less than 5)
  84. # [thread name]
  85. # packagename.classname.methodname (only the last part of the package is kept)
  86. # - message
  87. # newline
  88.  
  89. log4j.appender.stdout.layout.ConversionPattern=%-6r %-5p [%t] %c{2}.%M[%L] - %m%n
  90.  
  91.  
  92. ###  To set the value for specific classes/packages, use the following format:
  93. ## log4j.logger.<package.class>=LEVEL
  94. # log4j.logger.com.limegroup.gnutella.gui=INFO
  95. # would turn logging for the GUI to the INFO level
  96. #
  97. # log4j.logger.com.limegroup.gnutella.uploader=INFO
  98. # would turn logging for the uploader package to the INFO level
  99. #
  100. # log4j.logger.com.limegroup.gnutella.gui.GUIMediator=INFO
  101. # would turn logging for the GUIMediator class to the INFO level
  102. #
  103. # log4j.logger.httpclient.wire=ALL
  104. # will log all information read/written from/to the network using HttpClient
  105.  
  106. #log4j.logger.com.limegroup.gnutella.search.SearchResultHandler=ALL
  107. #log4j.logger.com.limegroup.gnutella.messages.StaticMessages=ALL
  108. #log4j.logger.com.limegroup.gnutella.messages=ALL
  109. #log4j.logger.com.limegroup.gnutella.ForMeReplyHandler=ALL
  110. #log4j.logger.com.limegroup.gnutella.messages.vendor.HeadPong=All
  111. #log4j.logger.com.limegroup.gnutella.Connection=ALL
  112. #log4j.logger.com.limegroup.gnutella.gui=DEBUG
  113. #log4j.logger.com.limegroup.gnutella.gui.iTunesMediator=DEBUG
  114. #log4j.logger.com.limegroup.gnutella.bugs=ALL
  115. #log4j.logger.com.limegroup.gnutella.ConnectionManager=ALL  
  116. #log4j.logger.com.limegroup.gnutella.ManagedConnection=ALL
  117. #log4j.logger.com.limegroup.gnutella.ConnectionWatchdog=ALL
  118. #log4j.logger.com.limegroup.gnutella.connection.ConnectionChecker=ALL
  119. #log4j.logger.com.limegroup.gnutella.BrowseHostHandler=ALL
  120. #log4j.logger.com.limegroup.gnutella.bootstrap=ALL
  121. #log4j.logger.com.limegroup.gnutella.HostCatcher=ALL
  122. #log4j.logger.com.limegroup.gnutella.downloader.VerifyingFile=ALL
  123. #log4j.logger.com.limegroup.gnutella.downloader.HTTPDownloader=ALL
  124. #log4j.logger.com.limegroup.gnutella.downloader=ALL
  125. #log4j.logger.com.limegroup.gnutella.UploadManager=ALL
  126. #log4j.logger.com.limegroup.gnutella.uploader.HTTPUploader=ALL
  127. #log4j.logger.com.limegroup.gnutella.dime=ALL
  128. #log4j.logger.com.limegroup.gnutella.tigertree=ALL
  129. #log4j.logger.com.limegroup.gnutella.tigertree.HashTree=ALL
  130. #log4j.logger.com.limegroup.gnutella.downloader.VerifyingFile=ALL
  131. #log4j.logger.com.limegroup.gnutella.SavedFileManager=ALL
  132. #log4j.logger.com.limegroup.gnutella.RouterService=ALL
  133. #log4j.logger.com.limegroup.gnutella.gui.Initializer=ALL
  134. #log4j.logger.com.limegroup.gnutella.gui.mp3=ALL
  135. #log4j.logger.com.limegroup.gnutella.search=ALL
  136. #log4j.logger.com.limegroup.gnutella.downloader=ALL
  137. #log4j.logger.com.limegroup.gnutella.udpconnect=ALL
  138. #log4j.logger.com.limegroup.gnutella.Acceptor=ALL
  139. #log4j.logger.com.limegroup.gnutella.DownloadManager=ALL
  140. #log4j.logger.com.limegroup.gnutella.UDPService=ALL
  141. #log4j.logger.com.limegroup.gnutella.UDPPinger=ALL
  142. #log4j.logger.com.limegroup.gnutella.downloader.PingRanker=ALL
  143. #log4j.logger.com.limegroup.gnutella.dime=ALL
  144. #log4j.logger.com.limegroup.gnutella.tigertree=ALL
  145. #log4j.logger.com.limegroup.gnutella.tigertree.HashTree=ALL
  146. #log4j.logger.com.limegroup.gnutella.downloader.VerifyingFile=ALL
  147. #log4j.logger.com.limegroup.gnutella.SavedFileManager=ALL
  148. #log4j.logger.com.limegroup.gnutella.RouterService=ALL
  149. #log4j.logger.com.limegroup.gnutella.gui.Initializer=ALL
  150. #log4j.logger.com.limegroup.gnutella.gui.mp3=ALL
  151. #log4j.logger.com.limegroup.gnutella.search=ALL
  152. #log4j.logger.com.limegroup.gnutella.downloader=ALL
  153. #log4j.logger.com.limegroup.gnutella.udpconnect=ALL
  154. #log4j.logger.com.limegroup.gnutella.Acceptor=ALL
  155. #log4j.logger.com.limegroup.gnutella.DownloadManager=ALL
  156. #log4j.logger.com.limegroup.gnutella.UDPService=ALL
  157. #log4j.logger.com.limegroup.gnutella.DownloadManager=ALL
  158. #log4j.logger.com.limegroup.gnutella.downloader.ManagedDownloader=ALL
  159. #log4j.logger.com.limegroup.gnutella.downloader.DownloadWorker=ALL
  160. #log4j.logger.com.limegroup.gnutella.downloader.HTTPDownloader=ALL
  161. #log4j.logger.com.limegroup.gnutella.io.IOStateMachine=ALL
  162. #log4j.logger.com.limegroup.gnutella.io.NIODispatcher=DEBUG
  163. #log4j.logger.com.limegroup.gnutella.tigertree.ThexReader=ALL
  164. #log4j.logger.com.limegroup.gnutella.http.ReadHeadersIOState=ALL
  165. #log4j.logger.com.limegroup.gnutella.downloader=ALL
  166. #log4j.logger.com.limegroup.gnutella.downloader.PingRanker=ALL
  167. #log4j.logger.com.limegroup.gnutella.downloader.DownloadTest=ALL
  168. #log4j.logger.com.limegroup.gnutella.UploadManager=ALL
  169. #log4j.logger.com.limegroup.gnutella.io.ThrottleReader=ALL
  170. #log4j.logger.com.limegroup.gnutella.io.NBThrottle=ALL
  171. #log4j.logger.com.limegroup.gnutella.downloader.TestUploader=ALL
  172. #log4j.logger.com.limegroup.gnutella.simpp=ALL
  173. #log4j.logger.com.limegroup.gnutella.Acceptor=ALL
  174. #log4j.logger.com.limegroup.gnutella.RemoteFileDesc=ALL
  175. #log4j.logger.com.limegroup.gnutella.settings=ALL
  176. #log4j.logger.com.limegroup.gnutella.PushManager=ALL
  177. #log4j.logger.com.limegroup.gnutella.BrowseHostHandler=ALL
  178. #log4j.logger.com.limegroup.gnutella.DownloadManager=ALL
  179. #log4j.logger.com.limegroup.gnutella.Acceptor=ALL
  180. #log4j.logger.com.limegroup.gnutella.ConnectionDispatcher=ALL
  181. #log4j.logger.com.limegroup.gnutella.gui.themes=ALL
  182. #log4j.logger.com.limegroup.gnutella.downloader.PushList=ALL
  183. #log4j.logger.com.limegroup.gnutella.downloader.xml.XMLParsingUtils=ALL
  184. #log4j.logger.httpclient.wire=ALL
  185. #log4j.logger.org.apache.commons.httpclient=ALL
  186.  
  187.