home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Shareware / Programare / httpcurrent / log4j.properties.sample < prev    next >
Text File  |  2005-04-29  |  2KB  |  46 lines

  1. # An example log4j configuration file that outputs to System.out.  The
  2. # output information consists of relative time, log level, thread
  3. # name, logger name, nested diagnostic context and the message in that
  4. # order.
  5.  
  6. # For the general syntax of property based configuration files see the
  7. # documenation of org.apache.log4j.PropertyConfigurator.
  8.  
  9. #log4j.rootLogger=DEBUG, A1
  10. log4j.rootLogger=A1
  11.  
  12. # A1 is set to be a ConsoleAppender which outputs to System.out. 
  13. log4j.appender.A1=org.apache.log4j.ConsoleAppender
  14.  
  15. # A1 uses PatternLayout.
  16. log4j.appender.A1.layout=org.apache.log4j.PatternLayout
  17.  
  18. # The conversion pattern uses format specifiers. You might want to
  19. # change the pattern an watch the output format change.
  20. log4j.appender.A1.layout.ConversionPattern=%-4r %-5p [%t] %37c %3x - %m%n
  21.  
  22.  
  23.  
  24. # All HTTP client logging (FATAL turns off tracing)
  25. #log4j.logger.com.nogoop=DEBUG
  26. log4j.logger.com.nogoop=FATAL
  27.  
  28. # Wire tracing
  29. #log4j.logger.com.nogoop.http.wireLog=DEBUG
  30.  
  31. # Per-class logging
  32. #log4j.logger.com.nogoop.http.ContentLengthInputStream=DEBUG
  33. #log4j.logger.com.nogoop.http.ChunkedInputStream=DEBUG
  34. #log4j.logger.com.nogoop.http.Headers=DEBUG
  35. #log4j.logger.com.nogoop.http.HttpConnection=DEBUG
  36. #log4j.logger.com.nogoop.http.HttpConnectionManager=DEBUG
  37. #log4j.logger.com.nogoop.http.HttpURLConnection=DEBUG
  38. #log4j.logger.com.nogoop.http.HttpURLConnection=INFO
  39. #log4j.logger.com.nogoop.http.HttpURLConnectInternal=WARN
  40. #log4j.logger.com.nogoop.http.HttpURLConnectInternal=DEBUG
  41. #log4j.logger.com.nogoop.http.Authenticator=DEBUG
  42.  
  43.  
  44.  
  45.  
  46.