|
1 |
| -# Default log4j configuration. See the individual classes for the |
2 |
| -# specific loggers, but generally they are named for the class in |
3 |
| -# which they are defined. |
4 |
| - |
5 |
| -# Default log4j configuration for testing purposes. |
6 |
| -# |
7 |
| -# You probably want to set the default log level to ERROR. |
8 |
| -# |
9 |
| -log4j.rootCategory=WARN, dest1 |
10 |
| -#log4j.rootCategory=WARN, dest2 |
11 |
| - |
12 |
| -# Loggers. |
13 |
| -# Note: logging here at INFO or DEBUG will significantly impact throughput! |
14 |
| -log4j.logger.com.bigdata=WARN |
15 |
| -log4j.logger.com.bigdata.btree=WARN |
16 |
| - |
17 |
| -# Normal data loader (single threaded). |
18 |
| -#log4j.logger.com.bigdata.rdf.store.DataLoader=INFO |
19 |
| - |
20 |
| -# dest1 |
21 |
| -log4j.appender.dest1=org.apache.log4j.ConsoleAppender |
22 |
| -log4j.appender.dest1.layout=org.apache.log4j.PatternLayout |
23 |
| -log4j.appender.dest1.layout.ConversionPattern=%-5p: %F:%L: %m%n |
24 |
| -#log4j.appender.dest1.layout.ConversionPattern=%-5p: %r %l: %m%n |
25 |
| -#log4j.appender.dest1.layout.ConversionPattern=%-5p: %m%n |
26 |
| -#log4j.appender.dest1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n |
27 |
| -#log4j.appender.dest1.layout.ConversionPattern=%-4r(%d) [%t] %-5p %c(%l:%M) %x - %m%n |
28 |
| - |
29 |
| -# dest2 includes the thread name and elapsed milliseconds. |
30 |
| -# Note: %r is elapsed milliseconds. |
31 |
| -# Note: %t is the thread name. |
32 |
| -# See http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html |
33 |
| -log4j.appender.dest2=org.apache.log4j.ConsoleAppender |
34 |
| -log4j.appender.dest2.layout=org.apache.log4j.PatternLayout |
35 |
| -log4j.appender.dest2.layout.ConversionPattern=%-5p: %r %X{hostname} %X{serviceUUID} %X{taskname} %X{timestamp} %X{resources} %t %l: %m%n |
36 |
| - |
37 |
| -## |
38 |
| -# Rule execution log. This is a formatted log file (comma delimited). |
39 |
| -log4j.logger.com.bigdata.relation.rule.eval.RuleLog=INFO,ruleLog |
40 |
| -log4j.additivity.com.bigdata.relation.rule.eval.RuleLog=false |
41 |
| -log4j.appender.ruleLog=org.apache.log4j.FileAppender |
42 |
| -log4j.appender.ruleLog.Threshold=ALL |
43 |
| -log4j.appender.ruleLog.File=/usr/share/blazegraph/rules.log |
44 |
| -log4j.appender.ruleLog.Append=true |
45 |
| -# I find that it is nicer to have this unbuffered since you can see what |
46 |
| -# is going on and to make sure that I have complete rule evaluation logs |
47 |
| -# on shutdown. |
48 |
| -log4j.appender.ruleLog.BufferedIO=false |
49 |
| -log4j.appender.ruleLog.layout=org.apache.log4j.PatternLayout |
50 |
| -log4j.appender.ruleLog.layout.ConversionPattern=%m |
51 |
| - |
52 |
| -## |
53 |
| -# Summary query evaluation log (tab delimited file). Uncomment the next line to enable. |
54 |
| -#log4j.logger.com.bigdata.bop.engine.QueryLog=INFO,queryLog |
55 |
| -log4j.additivity.com.bigdata.bop.engine.QueryLog=false |
56 |
| -log4j.appender.queryLog=org.apache.log4j.FileAppender |
57 |
| -log4j.appender.queryLog.Threshold=ALL |
58 |
| -log4j.appender.queryLog.File=/usr/share/blazegraph/queryLog.csv |
59 |
| -log4j.appender.queryLog.Append=true |
60 |
| -# I find that it is nicer to have this unbuffered since you can see what |
61 |
| -# is going on and to make sure that I have complete rule evaluation logs |
62 |
| -# on shutdown. |
63 |
| -log4j.appender.queryLog.BufferedIO=false |
64 |
| -log4j.appender.queryLog.layout=org.apache.log4j.PatternLayout |
65 |
| -log4j.appender.queryLog.layout.ConversionPattern=%m |
66 |
| - |
67 |
| -## |
68 |
| -# BOp run state trace (tab delimited file). Uncomment the next line to enable. |
69 |
| -#log4j.logger.com.bigdata.bop.engine.RunState$TableLog=INFO,queryRunStateLog |
70 |
| -log4j.additivity.com.bigdata.bop.engine.RunState$TableLog=false |
71 |
| -log4j.appender.queryRunStateLog=org.apache.log4j.FileAppender |
72 |
| -log4j.appender.queryRunStateLog.Threshold=ALL |
73 |
| -log4j.appender.queryRunStateLog.File=/usr/share/blazegraph/queryRunState.log |
74 |
| -log4j.appender.queryRunStateLog.Append=true |
75 |
| -# I find that it is nicer to have this unbuffered since you can see what |
76 |
| -# is going on and to make sure that I have complete rule evaluation logs |
77 |
| -# on shutdown. |
78 |
| -log4j.appender.queryRunStateLog.BufferedIO=false |
79 |
| -log4j.appender.queryRunStateLog.layout=org.apache.log4j.PatternLayout |
80 |
| -log4j.appender.queryRunStateLog.layout.ConversionPattern=%m |
| 1 | +# Default log4j configuration. See the individual classes for the |
| 2 | +# specific loggers, but generally they are named for the class in |
| 3 | +# which they are defined. |
| 4 | + |
| 5 | +# Default log4j configuration for testing purposes. |
| 6 | +# |
| 7 | +# You probably want to set the default log level to ERROR. |
| 8 | +# |
| 9 | +log4j.rootCategory=WARN, dest1 |
| 10 | +#log4j.rootCategory=WARN, dest2 |
| 11 | + |
| 12 | +# Loggers. |
| 13 | +# Note: logging here at INFO or DEBUG will significantly impact throughput! |
| 14 | +log4j.logger.com.bigdata=WARN |
| 15 | +log4j.logger.com.bigdata.btree=WARN |
| 16 | + |
| 17 | +# Normal data loader (single threaded). |
| 18 | +#log4j.logger.com.bigdata.rdf.store.DataLoader=INFO |
| 19 | + |
| 20 | +# dest1 |
| 21 | +log4j.appender.dest1=org.apache.log4j.ConsoleAppender |
| 22 | +log4j.appender.dest1.layout=org.apache.log4j.PatternLayout |
| 23 | +log4j.appender.dest1.layout.ConversionPattern=%-5p: %F:%L: %m%n |
| 24 | +#log4j.appender.dest1.layout.ConversionPattern=%-5p: %r %l: %m%n |
| 25 | +#log4j.appender.dest1.layout.ConversionPattern=%-5p: %m%n |
| 26 | +#log4j.appender.dest1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n |
| 27 | +#log4j.appender.dest1.layout.ConversionPattern=%-4r(%d) [%t] %-5p %c(%l:%M) %x - %m%n |
| 28 | + |
| 29 | +# dest2 includes the thread name and elapsed milliseconds. |
| 30 | +# Note: %r is elapsed milliseconds. |
| 31 | +# Note: %t is the thread name. |
| 32 | +# See http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html |
| 33 | +log4j.appender.dest2=org.apache.log4j.ConsoleAppender |
| 34 | +log4j.appender.dest2.layout=org.apache.log4j.PatternLayout |
| 35 | +log4j.appender.dest2.layout.ConversionPattern=%-5p: %r %X{hostname} %X{serviceUUID} %X{taskname} %X{timestamp} %X{resources} %t %l: %m%n |
| 36 | + |
| 37 | +## |
| 38 | +# Rule execution log. This is a formatted log file (comma delimited). |
| 39 | +log4j.logger.com.bigdata.relation.rule.eval.RuleLog=INFO,ruleLog |
| 40 | +log4j.additivity.com.bigdata.relation.rule.eval.RuleLog=false |
| 41 | +log4j.appender.ruleLog=org.apache.log4j.FileAppender |
| 42 | +log4j.appender.ruleLog.Threshold=ALL |
| 43 | +log4j.appender.ruleLog.File=/usr/share/blazegraph/rules.log |
| 44 | +log4j.appender.ruleLog.Append=true |
| 45 | +# I find that it is nicer to have this unbuffered since you can see what |
| 46 | +# is going on and to make sure that I have complete rule evaluation logs |
| 47 | +# on shutdown. |
| 48 | +log4j.appender.ruleLog.BufferedIO=false |
| 49 | +log4j.appender.ruleLog.layout=org.apache.log4j.PatternLayout |
| 50 | +log4j.appender.ruleLog.layout.ConversionPattern=%m |
| 51 | + |
| 52 | +## |
| 53 | +# Summary query evaluation log (tab delimited file). Uncomment the next line to enable. |
| 54 | +#log4j.logger.com.bigdata.bop.engine.QueryLog=INFO,queryLog |
| 55 | +log4j.additivity.com.bigdata.bop.engine.QueryLog=false |
| 56 | +log4j.appender.queryLog=org.apache.log4j.FileAppender |
| 57 | +log4j.appender.queryLog.Threshold=ALL |
| 58 | +log4j.appender.queryLog.File=/usr/share/blazegraph/queryLog.csv |
| 59 | +log4j.appender.queryLog.Append=true |
| 60 | +# I find that it is nicer to have this unbuffered since you can see what |
| 61 | +# is going on and to make sure that I have complete rule evaluation logs |
| 62 | +# on shutdown. |
| 63 | +log4j.appender.queryLog.BufferedIO=false |
| 64 | +log4j.appender.queryLog.layout=org.apache.log4j.PatternLayout |
| 65 | +log4j.appender.queryLog.layout.ConversionPattern=%m |
| 66 | + |
| 67 | +## |
| 68 | +# BOp run state trace (tab delimited file). Uncomment the next line to enable. |
| 69 | +#log4j.logger.com.bigdata.bop.engine.RunState$TableLog=INFO,queryRunStateLog |
| 70 | +log4j.additivity.com.bigdata.bop.engine.RunState$TableLog=false |
| 71 | +log4j.appender.queryRunStateLog=org.apache.log4j.FileAppender |
| 72 | +log4j.appender.queryRunStateLog.Threshold=ALL |
| 73 | +log4j.appender.queryRunStateLog.File=/usr/share/blazegraph/queryRunState.log |
| 74 | +log4j.appender.queryRunStateLog.Append=true |
| 75 | +# I find that it is nicer to have this unbuffered since you can see what |
| 76 | +# is going on and to make sure that I have complete rule evaluation logs |
| 77 | +# on shutdown. |
| 78 | +log4j.appender.queryRunStateLog.BufferedIO=false |
| 79 | +log4j.appender.queryRunStateLog.layout=org.apache.log4j.PatternLayout |
| 80 | +log4j.appender.queryRunStateLog.layout.ConversionPattern=%m |
| 81 | + |
| 82 | +## |
| 83 | +# Solutions trace (tab delimited file). Uncomment the next line to enable. |
| 84 | +#log4j.logger.com.bigdata.bop.engine.SolutionsLog=INFO,solutionsLog |
| 85 | +log4j.additivity.com.bigdata.bop.engine.SolutionsLog=false |
| 86 | +log4j.appender.solutionsLog=org.apache.log4j.ConsoleAppender |
| 87 | +#log4j.appender.solutionsLog=org.apache.log4j.FileAppender |
| 88 | +log4j.appender.solutionsLog.Threshold=ALL |
| 89 | +log4j.appender.solutionsLog.File=solutions.csv |
| 90 | +log4j.appender.solutionsLog.Append=true |
| 91 | +# I find that it is nicer to have this unbuffered since you can see what |
| 92 | +# is going on and to make sure that I have complete rule evaluation logs |
| 93 | +# on shutdown. |
| 94 | +log4j.appender.solutionsLog.BufferedIO=false |
| 95 | +log4j.appender.solutionsLog.layout=org.apache.log4j.PatternLayout |
| 96 | +log4j.appender.solutionsLog.layout.ConversionPattern=SOLUTION:\t%m |
| 97 | + |
| 98 | +## |
| 99 | +# SPARQL query trace (plain text file). Uncomment 2nd line to enable. |
| 100 | +log4j.logger.com.bigdata.rdf.sparql.ast.eval.ASTEvalHelper=WARN |
| 101 | +#log4j.logger.com.bigdata.rdf.sparql.ast.eval.ASTEvalHelper=INFO,sparqlLog |
| 102 | +log4j.additivity.com.bigdata.rdf.sparql.ast.eval.ASTEvalHelper=false |
| 103 | +log4j.appender.sparqlLog=org.apache.log4j.ConsoleAppender |
| 104 | +#log4j.appender.sparqlLog=org.apache.log4j.FileAppender |
| 105 | +log4j.appender.sparqlLog.Threshold=ALL |
| 106 | +log4j.appender.sparqlLog.File=sparql.txt |
| 107 | +log4j.appender.sparqlLog.Append=true |
| 108 | +# I find that it is nicer to have this unbuffered since you can see what |
| 109 | +# is going on and to make sure that I have complete rule evaluation logs |
| 110 | +# on shutdown. |
| 111 | +log4j.appender.sparqlLog.BufferedIO=false |
| 112 | +log4j.appender.sparqlLog.layout=org.apache.log4j.PatternLayout |
| 113 | +log4j.appender.sparqlLog.layout.ConversionPattern=#----------%d-----------tx=%X{tx}\n%m\n |
0 commit comments