云计算课程实验
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

40 rindas
1.7 KiB

pirms 4 gadiem
  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
  34. # make zookeeper log level an explicit config, and not changing with rootLogger.
  35. log4j.logger.org.apache.zookeeper=INFO
  36. log4j.logger.org.apache.curator=INFO