parquet-logging.properties 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. # Properties file which configures the operation of the JDK
  17. # logging facility.
  18. # The system will look for this config file, first using
  19. # a System property specified at startup:
  20. #
  21. # >java -Djava.util.logging.config.file=myLoggingConfigFilePath
  22. #
  23. # If this property is not specified, then the config file is
  24. # retrieved from its default location at:
  25. #
  26. # JDK_HOME/jre/lib/logging.properties
  27. # Global logging properties.
  28. # ------------------------------------------
  29. # The set of handlers to be loaded upon startup.
  30. # Comma-separated list of class names.
  31. # (? LogManager docs say no comma here, but JDK example has comma.)
  32. # handlers=java.util.logging.ConsoleHandler
  33. org.apache.parquet.handlers= java.util.logging.FileHandler
  34. # Default global logging level.
  35. # Loggers and Handlers may override this level
  36. .level=INFO
  37. # Handlers
  38. # -----------------------------------------
  39. # --- ConsoleHandler ---
  40. # Override of global logging level
  41. java.util.logging.ConsoleHandler.level=INFO
  42. java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
  43. java.util.logging.SimpleFormatter.format=[%1$tc] %4$s: %2$s - %5$s %6$s%n
  44. # --- FileHandler ---
  45. # Override of global logging level
  46. java.util.logging.FileHandler.level=ALL
  47. # Naming style for the output file:
  48. # (The output file is placed in the system temporary directory.
  49. # %u is used to provide unique identifier for the file.
  50. # For more information refer
  51. # https://docs.oracle.com/javase/7/docs/api/java/util/logging/FileHandler.html)
  52. java.util.logging.FileHandler.pattern=%t/parquet-%u.log
  53. # Limiting size of output file in bytes:
  54. java.util.logging.FileHandler.limit=50000000
  55. # Number of output files to cycle through, by appending an
  56. # integer to the base file name:
  57. java.util.logging.FileHandler.count=1
  58. # Style of output (Simple or XML):
  59. java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter