You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2013/03/21 13:12:16 UTC

svn commit: r1459253 - in /isis/site/trunk/content: components/objectstores/jdo/about.md components/objectstores/jdo/enabling-logging.md components/viewers/wicket/about.md documentation.md

Author: danhaywood
Date: Thu Mar 21 12:12:16 2013
New Revision: 1459253

URL: http://svn.apache.org/r1459253
Log:
isis site - stub article on logging

Added:
    isis/site/trunk/content/components/objectstores/jdo/enabling-logging.md
Modified:
    isis/site/trunk/content/components/objectstores/jdo/about.md
    isis/site/trunk/content/components/viewers/wicket/about.md
    isis/site/trunk/content/documentation.md

Modified: isis/site/trunk/content/components/objectstores/jdo/about.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/components/objectstores/jdo/about.md?rev=1459253&r1=1459252&r2=1459253&view=diff
==============================================================================
--- isis/site/trunk/content/components/objectstores/jdo/about.md (original)
+++ isis/site/trunk/content/components/objectstores/jdo/about.md Thu Mar 21 12:12:16 2013
@@ -6,8 +6,9 @@ Hints and tips:
 
 - [Maven and Eclipse](maven-and-eclipse.html)
 - [Dates, Blobs and Lazy Loading](dates-blobs-lazy-loading.html)
-- [Using a JNDI Datasource](using-jndi-datasource.html) (1.1.0-SNAPSHOT)
-- [Eagerly Registering Entities](eagerly-registering-entities.html) (1.1.0-SNAPSHOT)
+- [Using a JNDI Datasource](using-jndi-datasource.html) [1.1.0-SNAPSHOT]
+- [Eagerly Registering Entities](eagerly-registering-entities.html) [1.1.0-SNAPSHOT]
+- [Enabling Logging](enabling-logging.html) [stub]
 
 ### Releases
 

Added: isis/site/trunk/content/components/objectstores/jdo/enabling-logging.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/components/objectstores/jdo/enabling-logging.md?rev=1459253&view=auto
==============================================================================
--- isis/site/trunk/content/components/objectstores/jdo/enabling-logging.md (added)
+++ isis/site/trunk/content/components/objectstores/jdo/enabling-logging.md Thu Mar 21 12:12:16 2013
@@ -0,0 +1,43 @@
+Title: Enabling Logging
+
+{note
+this article is just a stub
+}
+
+Sometimes you just need to see what is going on.  There are various ways in which logging can be enabled, here are some ideas.
+
+### In Apache Isis
+
+Modify `WEB-INF/logging.properties` (a log4j config file)
+
+### In DataNucleus
+
+As per the [DN logging page](http://www.datanucleus.org/products/accessplatform/logging.html)
+
+### In the JDBC Driver
+
+Configure log4jdbc JDBC rather than the vanilla driver (see `WEB-INF/persistor_datanucleus.properties`) and configure log4j logging (see `WEB-INF/logging.properties`).
+
+There are examples of both in the quickstart archetype.
+
+### In the Database
+
+#### HSQLDB Logging
+
+Add `;sqllog=3` to the end of the JDBC URL.
+
+#### PostgreSQL Logging
+
+In `postgresql\9.2\data\postgresql.conf`:
+
+<pre>
+#log_statement = 'all'
+</pre>
+
+Will then log to `postgresql\9.2\data\pg_log` directory.
+
+Note that you must restart the service for this to be picked up.
+
+#### MS SQL Server Logging
+
+Use the excellent SQL Profiler tool.
\ No newline at end of file

Modified: isis/site/trunk/content/components/viewers/wicket/about.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/components/viewers/wicket/about.md?rev=1459253&r1=1459252&r2=1459253&view=diff
==============================================================================
--- isis/site/trunk/content/components/viewers/wicket/about.md (original)
+++ isis/site/trunk/content/components/viewers/wicket/about.md Thu Mar 21 12:12:16 2013
@@ -7,8 +7,8 @@ Like the [HTML viewer](../html/about.htm
 ### Further reading:
 
 - [Customizing the viewer](customizing-the-viewer.html)
-- [Titles in tables](titles-in-tables.html) (1.2.0-SNAPSHOT)
-- [The About page](configuring-the-about-page.html) (1.2.0-SNAPSHOT)
+- [Titles in tables](titles-in-tables.html) [1.2.0-SNAPSHOT]
+- [The About page](configuring-the-about-page.html) [1.2.0-SNAPSHOT]
 
 ### Releases
 

Modified: isis/site/trunk/content/documentation.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/documentation.md?rev=1459253&r1=1459252&r2=1459253&view=diff
==============================================================================
--- isis/site/trunk/content/documentation.md (original)
+++ isis/site/trunk/content/documentation.md Thu Mar 21 12:12:16 2013
@@ -200,9 +200,9 @@ Guidance for committers is at the bottom
 - [About](components/objectstores/jdo/about.html)
 - [Maven and Eclipse](components/objectstores/jdo/maven-and-eclipse.html)
 - [Dates, Blobs and Lazy Loading](components/objectstores/jdo/dates-blobs-lazy-loading.html)
-- [Using a JNDI Datasource](components/objectstores/jdo/using-jndi-datasource.html) (1.1.0-SNAPSHOT)
-- [Eagerly Registering Entity Types](components/objectstores/jdo/eagerly-registering-entities.html) (1.1.0-SNAPSHOT)
-
+- [Using a JNDI Datasource](components/objectstores/jdo/using-jndi-datasource.html) [1.1.0-SNAPSHOT]
+- [Eagerly Registering Entity Types](components/objectstores/jdo/eagerly-registering-entities.html) [1.1.0-SNAPSHOT]
+- [Enabling Logging](components/objectstores/jdo/enabling-logging.html) [stub]
 }
 
 {span-one-third