You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2016/02/03 06:02:38 UTC

svn commit: r1728258 - in /calcite/site: docs/history.html docs/howto.html downloads/index.html

Author: jhyde
Date: Wed Feb  3 05:02:38 2016
New Revision: 1728258

URL: http://svn.apache.org/viewvc?rev=1728258&view=rev
Log:
[CALCITE-1074] Delete old releases from mirroring system

Modified:
    calcite/site/docs/history.html
    calcite/site/docs/howto.html
    calcite/site/downloads/index.html

Modified: calcite/site/docs/history.html
URL: http://svn.apache.org/viewvc/calcite/site/docs/history.html?rev=1728258&r1=1728257&r2=1728258&view=diff
==============================================================================
--- calcite/site/docs/history.html (original)
+++ calcite/site/docs/history.html Wed Feb  3 05:02:38 2016
@@ -710,6 +710,19 @@
 Downloads are available on the
 <a href="/downloads/">downloads page</a>.</p>
 
+<h2 id="v1-7-0">1.7.0 / (Under Development)</h2>
+
+<p>One notable change is that the use of JUL (java.util.logging) has been replaced
+with <a href="http://slf4j.org/">SLF4J</a>. SLF4J provides an API which Calcite can use
+independent of the logging implementation. This ultimately provides additional
+flexibility to users, allowing them to configure Calcite’s logging within their
+own chosen logging framework. This work was done in <a href="https://issues.apache.org/jira/browse/CALCITE-669">CALCITE-669</a>.</p>
+
+<p>For users experienced with configuring JUL in Calcite previously, there are some
+differences as some the JUL logging levels do not exist in SLF4J: <code>FINE</code>,
+<code>FINER</code>, and <code>FINEST</code>, specifically. To deal with this, <code>FINE</code> was mapped
+to SLF4J’s <code>DEBUG</code> level, while <code>FINER</code> and <code>FINEST</code> were mapped to SLF4J’s <code>TRACE</code>.</p>
+
 <h2 id="v1-6-0"><a href="https://github.com/apache/calcite/releases/tag/calcite-1.6.0">1.6.0</a> / 2016-01-22</h2>
 
 <p>As usual in this release, there are new SQL features, improvements to
@@ -3232,7 +3245,6 @@ conflicts in multithreaded usage</li>
   <li>Initial commit</li>
 </ul>
 
-
           
 
 

Modified: calcite/site/docs/howto.html
URL: http://svn.apache.org/viewvc/calcite/site/docs/howto.html?rev=1728258&r1=1728257&r2=1728258&view=diff
==============================================================================
--- calcite/site/docs/howto.html (original)
+++ calcite/site/docs/howto.html Wed Feb  3 05:02:38 2016
@@ -887,7 +887,7 @@ Integration tests should be named <code>
 
 <p>To enable tracing, add the following flags to the java command line:</p>
 
-<p><code>-Dcalcite.debug=true -Djava.util.logging.config.file=core/src/test/resources/logging.properties</code></p>
+<p><code>-Dcalcite.debug=true</code></p>
 
 <p>The first flag causes Calcite to print the Java code it generates
 (to execute queries) to stdout. It is especially useful if you are debugging
@@ -896,19 +896,17 @@ mysterious problems like this:</p>
 <p><code>Exception in thread "main" java.lang.ClassCastException: Integer cannot be cast to Long
   at Baz$1$1.current(Unknown Source)</code></p>
 
-<p>The second flag specifies a config file for
-the <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html">java.util.logging</a>
-framework. Put the following into core/src/test/resources/logging.properties:</p>
-
-<div class="highlight"><pre><code class="language-properties" data-lang="properties"><span class="na">handlers</span><span class="o">=</span> <span class="s">java.util.logging.ConsoleHandler</span>
-<span class="na">.level</span><span class="o">=</span> <span class="s">INFO</span>
-<span class="na">org.apache.calcite.plan.RelOptPlanner.level</span><span class="o">=</span><span class="s">FINER</span>
-<span class="na">java.util.logging.ConsoleHandler.level</span><span class="o">=</span><span class="s">ALL</span></code></pre></div>
-
-<p>The line <code>org.apache.calcite.plan.RelOptPlanner.level=FINER</code> tells the planner to produce
-fairly verbose output. You can modify the file to enable other loggers, or to change levels.
-For instance, if you change <code>FINER</code> to <code>FINEST</code> the planner will give you an account of the
-planning process so detailed that it might fill up your hard drive.</p>
+<p>By default, Calcite uses the Log4j bindings for SLF4J. There is a provided configuration
+file which outputs logging at the INFO level to the console in <code>core/src/test/resources/log4j.properties</code>.
+You can modify the level for the rootLogger to increase verbosity or change the level
+for a specific class if you so choose.</p>
+
+<div class="highlight"><pre><code class="language-properties" data-lang="properties"><span class="c"># Change rootLogger level to WARN</span>
+<span class="na">log4j.rootLogger</span><span class="o">=</span><span class="s">WARN, A1</span>
+<span class="c"># Increase level to DEBUG for RelOptPlanner</span>
+<span class="na">log4j.logger.org.apache.calcite.plan.RelOptPlanner</span><span class="o">=</span><span class="s">DEBUG</span>
+<span class="c"># Increase level to TRACE for HepPlanner</span>
+<span class="na">log4j.logger.org.apache.calcite.plan.hep.HepPlanner</span><span class="o">=</span><span class="s">TRACE</span></code></pre></div>
 
 <h2 id="csv-adapter">CSV adapter</h2>
 

Modified: calcite/site/downloads/index.html
URL: http://svn.apache.org/viewvc/calcite/site/downloads/index.html?rev=1728258&r1=1728257&r2=1728258&view=diff
==============================================================================
--- calcite/site/downloads/index.html (original)
+++ calcite/site/downloads/index.html Wed Feb  3 05:02:38 2016
@@ -110,19 +110,19 @@
       <td style="text-align: left"><a href="/docs/history.html#v1-5-0">1.5.0</a></td>
       <td style="text-align: left">10 Nov 2015</td>
       <td style="text-align: left"><a href="https://github.com/apache/calcite/commit/ba6e43c">ba6e43c</a></td>
-      <td style="text-align: left"><a href="http://www.apache.org/dyn/closer.lua?filename=calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.tar.gz&amp;action=download">tar</a> (<a href="https://www.apache.org/dist/calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.tar.gz.md5">md5</a> <a href="https://www.apache.org/dist/calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.tar.gz.asc">pgp</a>) <br /> <a href="http://www.apache.org/dyn/closer.lua?filename=calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.zip&amp;action=download">zip</a> (<a href="https://www.apache.org/dist/calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.zip.md5">md5</a> <a href="https://www.apache.org/dist/calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.zip.asc">pgp</a>)</td>
+      <td style="text-align: left"><a href="http://archive.apache.org/dist/calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.tar.gz">tar</a> (<a href="https://archive.apache.org/dist/calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.tar.gz.md5">md5</a> <a href="https://archive.apache.org/dist/calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.tar.gz.asc">pgp</a>) <br /> <a href="http://archive.apache.org/dist/calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.zip">zip</a> (<a href="https://archive.apache.org/dist/calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.zip.md5">md5</a> <a href="https://archive.apache.org/dist/calcite/apache-calcite-1.5.0/apache-calcite-1.5.0-src.zip.asc">pgp</a>)</td>
     </tr>
     <tr>
       <td style="text-align: left"><a href="/docs/history.html#v1-4-0">1.4.0-incubating</a></td>
       <td style="text-align: left">02 Sep 2015</td>
       <td style="text-align: left"><a href="https://github.com/apache/calcite/commit/0c0c203d">0c0c203d</a></td>
-      <td style="text-align: left"><a href="http://archive.apache.org/dist/incubator/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.tar.gz">tar</a> (<a href="https://archive.apache.org/dist/incubator/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.tar.gz.md5">md5</a> <a href="https://archive.apache.org/dist/incubator/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.tar.gz.asc">pgp</a>) <br /> <a href="http://archive.apache.org/dist/incubator/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.zip">zip</a> (<a href="https://archive.apache.org/dist/incubator/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.zip.md5">md5</a> <a href="https://archive.apache.org/dist/incubator/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.zip.asc">pgp</a>)</td>
+      <td style="text-align: left"><a href="http://archive.apache.org/dist/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.tar.gz">tar</a> (<a href="https://archive.apache.org/dist/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.tar.gz.md5">md5</a> <a href="https://archive.apache.org/dist/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.tar.gz.asc">pgp</a>) <br /> <a href="http://archive.apache.org/dist/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.zip">zip</a> (<a href="https://archive.apache.org/dist/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.zip.md5">md5</a> <a href="https://archive.apache.org/dist/calcite/apache-calcite-1.4.0-incubating/apache-calcite-1.4.0-incubating-src.zip.asc">pgp</a>)</td>
     </tr>
     <tr>
       <td style="text-align: left"><a href="/docs/history.html#v1-3-0">1.3.0-incubating</a></td>
       <td style="text-align: left">30 May 2015</td>
       <td style="text-align: left"><a href="https://github.com/apache/calcite/commit/495f1859">495f1859</a></td>
-      <td style="text-align: left"><a href="http://archive.apache.org/dist/incubator/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.tar.gz">tar</a> (<a href="https://archive.apache.org/dist/incubator/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.tar.gz.md5">md5</a> <a href="https://archive.apache.org/dist/incubator/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.tar.gz.asc">pgp</a>) <br /> <a href="http://archive.apache.org/dist/incubator/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.zip">zip</a> (<a href="https://archive.apache.org/dist/incubator/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.zip.md5">md5</a> <a href="https://archive.apache.org/dist/incubator/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.zip.asc">pgp</a>)</td>
+      <td style="text-align: left"><a href="http://archive.apache.org/dist/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.tar.gz">tar</a> (<a href="https://archive.apache.org/dist/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.tar.gz.md5">md5</a> <a href="https://archive.apache.org/dist/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.tar.gz.asc">pgp</a>) <br /> <a href="http://archive.apache.org/dist/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.zip">zip</a> (<a href="https://archive.apache.org/dist/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.zip.md5">md5</a> <a href="https://archive.apache.org/dist/calcite/apache-calcite-1.3.0-incubating/apache-calcite-1.3.0-incubating-src.zip.asc">pgp</a>)</td>
     </tr>
     <tr>
       <td style="text-align: left"><a href="/docs/history.html#v1-2-0">1.2.0-incubating</a></td>