Newer
Older
sparql-test-runner / src / main / resources / log4j.properties
  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.  
  17. log4j.rootLogger=INFO, stderr
  18.  
  19. # Set up logging to include a file record of the output
  20. # Note: the file is always created, even if there is
  21. # no actual output.
  22. # log4j.rootLogger=INFO, stderr, R
  23.  
  24. # Base of all Jena classes
  25. log4j.logger.com.hp.hpl.jena=INFO
  26.  
  27. # Example of switching on debug level logging for part of tree
  28. # log4j.logger.com.hp.hpl.jena.graph.test=debug
  29. # log4j.logger.com.hp.hpl.jena.reasoner=debug
  30. # log4j.logger.com.hp.hpl.jena.reasoner.test=debug
  31.  
  32. # Log format to standard out
  33. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  34. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  35. # Pattern to output the caller's file name and line number.
  36. log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
  37.  
  38. # Log format to standard error
  39. log4j.appender.stderr=org.apache.log4j.ConsoleAppender
  40. log4j.appender.stderr.target=System.err
  41. log4j.appender.stderr.layout=org.apache.log4j.PatternLayout
  42. # Pattern to output the caller's file name and line number.
  43. log4j.appender.stderr.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
  44.  
  45. # File based log output
  46. log4j.appender.R=org.apache.log4j.RollingFileAppender
  47. log4j.appender.R.File=jena2.log
  48. log4j.appender.R.MaxFileSize=5000KB
  49. # Keep one backup file
  50. log4j.appender.R.MaxBackupIndex=1
  51. log4j.appender.R.layout=org.apache.log4j.PatternLayout
  52. log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n