云计算课程实验
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.6 KiB

  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 'httpfs.log.dir' is not defined at HttpFSServer start up time
  15. # Setup sets its value to '${httpfs.home}/logs'
  16. log4j.appender.httpfs=org.apache.log4j.DailyRollingFileAppender
  17. log4j.appender.httpfs.DatePattern='.'yyyy-MM-dd
  18. log4j.appender.httpfs.File=${httpfs.log.dir}/httpfs.log
  19. log4j.appender.httpfs.Append=true
  20. log4j.appender.httpfs.layout=org.apache.log4j.PatternLayout
  21. log4j.appender.httpfs.layout.ConversionPattern=%d{ISO8601} %5p %c{1} [%X{hostname}][%X{user}:%X{doAs}] %X{op} %m%n
  22. log4j.appender.httpfsaudit=org.apache.log4j.DailyRollingFileAppender
  23. log4j.appender.httpfsaudit.DatePattern='.'yyyy-MM-dd
  24. log4j.appender.httpfsaudit.File=${httpfs.log.dir}/httpfs-audit.log
  25. log4j.appender.httpfsaudit.Append=true
  26. log4j.appender.httpfsaudit.layout=org.apache.log4j.PatternLayout
  27. log4j.appender.httpfsaudit.layout.ConversionPattern=%d{ISO8601} %5p [%X{hostname}][%X{user}:%X{doAs}] %X{op} %m%n
  28. log4j.logger.httpfsaudit=INFO, httpfsaudit
  29. log4j.logger.org.apache.hadoop.fs.http.server=INFO, httpfs
  30. log4j.logger.org.apache.hadoop.lib=INFO, httpfs