2
0

logging.properties 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ############################################################
  2. # Default Logging Configuration File
  3. #
  4. # For example java -Djava.util.logging.config.file=myfile
  5. ############################################################
  6. ############################################################
  7. # Global properties
  8. ############################################################
  9. # "handlers" specifies a comma separated list of log Handler
  10. # classes. These handlers will be installed during VM startup.
  11. # Note that these classes must be on the system classpath.
  12. # By default we only configure a ConsoleHandler, which will only
  13. # show messages at the INFO and above levels.
  14. handlers=java.util.logging.ConsoleHandler
  15. # To also add the FileHandler, use the following line instead.
  16. #handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
  17. # Default global logging level.
  18. # This specifies which kinds of events are logged across
  19. # all loggers. For any given facility this global level
  20. # can be overriden by a facility specific level
  21. # Note that the ConsoleHandler also has a separate level
  22. # setting to limit messages printed to the console.
  23. #.level=ALL
  24. #.level=FINER
  25. #.level=OFF
  26. .level=INFO
  27. ############################################################
  28. # Handler specific properties.
  29. # Describes specific configuration info for Handlers.
  30. ############################################################
  31. # default file output is in user's home directory.
  32. java.util.logging.FileHandler.pattern=%h/java%u.log
  33. java.util.logging.FileHandler.limit=50000
  34. java.util.logging.FileHandler.count=1
  35. java.util.logging.FileHandler.formatter=java.util.logging.XMLFormatter
  36. # Limit the message that are printed on the console to INFO and above.
  37. java.util.logging.ConsoleHandler.level=ALL
  38. java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
  39. ############################################################
  40. # Facility specific properties.
  41. # Provides extra control for each logger.
  42. ############################################################
  43. # For example, set the com.xyz.foo logger to only log SEVERE
  44. # messages:
  45. #com.xyz.foo.level = SEVERE
  46. #com.mchange.v2.resourcepool.level=INFO
  47. #com.mchange.v2.resourcepool.level=FINER
  48. com.mchange.v2.resourcepool.level=ALL
  49. #com.mchange.v2.c3p0.impl.level=ALL
  50. #com.mchange.level=FINE
  51. #com.mchange.level=ALL
  52. #com.mchange.v2.c3p0.impl.level=ALL
  53. #com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.level=ALL