Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1668

The solutions trace log and SPARQL query log examples need to be present (but not activated) in the default log4j.properties file.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: BLAZEGRAPH_RELEASE_1_5_3
    • Fix Version/s: BLAZEGRAPH_2_0_0
    • Component/s: Project Management
    • Labels:
      None

      Description

      ## 
      # Solutions trace (tab delimited file).  Uncomment the next line to enable.
      #log4j.logger.com.bigdata.bop.engine.SolutionsLog=INFO,solutionsLog
      log4j.additivity.com.bigdata.bop.engine.SolutionsLog=false
      log4j.appender.solutionsLog=org.apache.log4j.ConsoleAppender
      #log4j.appender.solutionsLog=org.apache.log4j.FileAppender
      log4j.appender.solutionsLog.Threshold=ALL
      log4j.appender.solutionsLog.File=solutions.csv
      log4j.appender.solutionsLog.Append=true
      # I find that it is nicer to have this unbuffered since you can see what
      # is going on and to make sure that I have complete rule evaluation logs
      # on shutdown.
      log4j.appender.solutionsLog.BufferedIO=false
      log4j.appender.solutionsLog.layout=org.apache.log4j.PatternLayout
      log4j.appender.solutionsLog.layout.ConversionPattern=SOLUTION:\t%m
      
      ## 
      # SPARQL query trace (plain text file).  Uncomment 2nd line to enable.
      log4j.logger.com.bigdata.rdf.sparql.ast.eval.ASTEvalHelper=WARN
      #log4j.logger.com.bigdata.rdf.sparql.ast.eval.ASTEvalHelper=INFO,sparqlLog
      log4j.additivity.com.bigdata.rdf.sparql.ast.eval.ASTEvalHelper=false
      log4j.appender.sparqlLog=org.apache.log4j.ConsoleAppender
      #log4j.appender.sparqlLog=org.apache.log4j.FileAppender
      log4j.appender.sparqlLog.Threshold=ALL
      log4j.appender.sparqlLog.File=sparql.txt
      log4j.appender.sparqlLog.Append=true
      # I find that it is nicer to have this unbuffered since you can see what
      # is going on and to make sure that I have complete rule evaluation logs
      # on shutdown.
      log4j.appender.sparqlLog.BufferedIO=false
      log4j.appender.sparqlLog.layout=org.apache.log4j.PatternLayout
      log4j.appender.sparqlLog.layout.ConversionPattern=#----------%d-----------tx=%X{tx}\n%m\n
      
      

        Attachments

          Activity

            People

            Assignee:
            beebs Brad Bebee
            Reporter:
            bryanthompson bryanthompson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: