log.properties 994 B

123456789101112131415161718192021222324252627282930313233
  1. handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
  2. # Default global logging level.
  3. #SEVERE(最高值)
  4. #WARNING
  5. #INFO
  6. #CONFIG
  7. #FINE
  8. #FINER
  9. #FINEST(最低值)
  10. #OFF
  11. .level = ALL
  12. # default file output is in user's home directory.
  13. java.util.logging.FileHandler.pattern = log/influxdb/log.log
  14. java.util.logging.FileHandler.count = 100
  15. java.util.logging.FileHandler.level = INFO
  16. #java.util.logging.FileHandler.level = WARNING
  17. java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
  18. # Limit the message that are printed on the console to INFO and above.
  19. java.util.logging.ConsoleHandler.level = INFO
  20. #java.util.logging.ConsoleHandler.level = WARNING
  21. java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
  22. ############################################################
  23. # Facility specific properties.
  24. ############################################################
  25. java.level = WARNING
  26. javax.level = WARNING
  27. sun.level = WARNING