SF.net SVN: geonetwork:[5426] sandbox/3.0.x/geonetwork_legacy/docs/docbook/ gn_manual

1 message Options
Embed this post
Permalink
josegar74-2

SF.net SVN: geonetwork:[5426] sandbox/3.0.x/geonetwork_legacy/docs/docbook/ gn_manual

Reply Threaded More More options
Print post
Permalink
Revision: 5426
          http://geonetwork.svn.sourceforge.net/geonetwork/?rev=5426&view=rev
Author:   josegar74
Date:     2009-11-03 18:54:42 +0000 (Tue, 03 Nov 2009)

Log Message:
-----------
log4j configuration

Modified Paths:
--------------
    sandbox/3.0.x/geonetwork_legacy/docs/docbook/gn_manual/server_ref_ebrim.xml
    sandbox/3.0.x/geonetwork_legacy/docs/docbook/gn_manual/server_ref_gaap.xml

Modified: sandbox/3.0.x/geonetwork_legacy/docs/docbook/gn_manual/server_ref_ebrim.xml
===================================================================
--- sandbox/3.0.x/geonetwork_legacy/docs/docbook/gn_manual/server_ref_ebrim.xml 2009-11-03 16:50:28 UTC (rev 5425)
+++ sandbox/3.0.x/geonetwork_legacy/docs/docbook/gn_manual/server_ref_ebrim.xml 2009-11-03 18:54:42 UTC (rev 5426)
@@ -151,7 +151,33 @@
         </section>
         <section>
             <title>Logging information</title>
-            <para>Logging of system messages is done using the log4j framework.</para>
+            <para>Logging of system messages is done using the log4j framework. The file
+                install-dir/web/geonetwork-web-ebrim-3.0.0/WEB-INF/log4.properties contains the configuration of the loggin framework:</para>
+
+            <programlisting>
+                <![CDATA[#LOGGER (levels are ALL, TRACE, DEBUG, INFO, WARN, ERROR and FATAL)
+                log4j.rootCategory=ERROR, APPENDER_OUT, APPENDER_FILE
+                log4j.logger.org.geonetwork=WARN
+
+
+                #APPENDER_OUT
+                log4j.appender.APPENDER_OUT=org.apache.log4j.ConsoleAppender
+                log4j.appender.APPENDER_OUT.layout=org.apache.log4j.PatternLayout
+                log4j.appender.APPENDER_OUT.layout.ConversionPattern=%d{ISO8601} | %t | %-5p | %-20C{1} | %-15M | %3L | %m %n
+
+                #APPENDER_FILE
+                log4j.appender.APPENDER_FILE=org.apache.log4j.DailyRollingFileAppender
+                log4j.appender.APPENDER_FILE.File=geonetwork-web-ebrim-log.html
+                log4j.appender.APPENDER_FILE.DatePattern=.yyyyMMdd
+                log4j.appender.APPENDER_FILE.layout=org.apache.log4j.HTMLLayout
+                ]]>
+
+            </programlisting>
+            
+            <para>By default, the logging is outputted to the console and to the file install_dir/jetty/geonetwork-web-ebrim-log.html</para>
+
+            <para>For more information about the configuration of log4j framework, check http://logging.apache.org/log4j/1.2/manual.html</para>
+
         </section>
     </chapter>
 </book>

Modified: sandbox/3.0.x/geonetwork_legacy/docs/docbook/gn_manual/server_ref_gaap.xml
===================================================================
--- sandbox/3.0.x/geonetwork_legacy/docs/docbook/gn_manual/server_ref_gaap.xml 2009-11-03 16:50:28 UTC (rev 5425)
+++ sandbox/3.0.x/geonetwork_legacy/docs/docbook/gn_manual/server_ref_gaap.xml 2009-11-03 18:54:42 UTC (rev 5426)
@@ -85,7 +85,33 @@
         </section>
         <section>
             <title>Logging information</title>
-            <para>Logging of system messages is done using the log4j framework.</para>
+            <para>Logging of system messages is done using the log4j framework.The file
+                install-dir/web/geonetwork-gaap-web-3.0.0/WEB-INF/classes/log4.properties contains the configuration of the loggin framework:</para>
+
+            <programlisting>
+                <![CDATA[#LOGGER (levels are ALL, TRACE, DEBUG, INFO, WARN, ERROR and FATAL)
+                log4j.rootCategory=ERROR, APPENDER_OUT, APPENDER_FILE
+                log4j.logger.org.geonetwork=WARN
+
+
+                #APPENDER_OUT
+                log4j.appender.APPENDER_OUT=org.apache.log4j.ConsoleAppender
+                log4j.appender.APPENDER_OUT.layout=org.apache.log4j.PatternLayout
+                log4j.appender.APPENDER_OUT.layout.ConversionPattern=%d{ISO8601} | %t | %-5p | %-20C{1} | %-15M | %3L | %m %n
+
+                #APPENDER_FILE
+                log4j.appender.APPENDER_FILE=org.apache.log4j.DailyRollingFileAppender
+                log4j.appender.APPENDER_FILE.File=geonetwork-web-gaap-log.html
+                log4j.appender.APPENDER_FILE.DatePattern=.yyyyMMdd
+                log4j.appender.APPENDER_FILE.layout=org.apache.log4j.HTMLLayout
+                ]]>
+
+            </programlisting>
+
+            <para>By default, the logging is outputted to the console and to the file install_dir/jetty/geonetwork-web-gaap-log.html</para>
+
+            <para>For more information about the configuration of log4j framework, check http://logging.apache.org/log4j/1.2/manual.html</para>
+
         </section>
     </chapter>
 </book>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoNetwork-commit mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-commit