kms-log4j.properties 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #
  2. # Licensed under the Apache License, Version 2.0 (the "License");
  3. # you may not use this file except in compliance with the License.
  4. # You may obtain a copy of the License at
  5. #
  6. # http://www.apache.org/licenses/LICENSE-2.0
  7. #
  8. # Unless required by applicable law or agreed to in writing, software
  9. # distributed under the License is distributed on an "AS IS" BASIS,
  10. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. # See the License for the specific language governing permissions and
  12. # limitations under the License. See accompanying LICENSE file.
  13. #
  14. # If the Java System property 'kms.log.dir' is not defined at KMS start up time
  15. # Setup sets its value to '${kms.home}/logs'
  16. log4j.appender.kms=org.apache.log4j.DailyRollingFileAppender
  17. log4j.appender.kms.DatePattern='.'yyyy-MM-dd
  18. log4j.appender.kms.File=${kms.log.dir}/kms.log
  19. log4j.appender.kms.Append=true
  20. log4j.appender.kms.layout=org.apache.log4j.PatternLayout
  21. log4j.appender.kms.layout.ConversionPattern=%d{ISO8601} %-5p %c{1} - %m%n
  22. log4j.appender.kms-audit=org.apache.log4j.DailyRollingFileAppender
  23. log4j.appender.kms-audit.DatePattern='.'yyyy-MM-dd
  24. log4j.appender.kms-audit.File=${kms.log.dir}/kms-audit.log
  25. log4j.appender.kms-audit.Append=true
  26. log4j.appender.kms-audit.layout=org.apache.log4j.PatternLayout
  27. log4j.appender.kms-audit.layout.ConversionPattern=%d{ISO8601} %m%n
  28. log4j.logger.kms-audit=INFO, kms-audit
  29. log4j.additivity.kms-audit=false
  30. log4j.rootLogger=ALL, kms
  31. log4j.logger.org.apache.hadoop.conf=ERROR
  32. log4j.logger.org.apache.hadoop=INFO
  33. log4j.logger.com.sun.jersey.server.wadl.generators.WadlGeneratorJAXBGrammarGenerator=OFF