performed javacscript:fix and worked on documentation
[taxeditor.git] / src / site / fml / troubleshooting.fml
index d27c88e4e1a568d9f247199c5d48350ebc0264df..bb2c26150a7d7ab3d590805748ca10c4b2ded0e1 100644 (file)
@@ -1,49 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<faqs xmlns="http://maven.apache.org/FML/1.0.1"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 http://maven.apache.org/xsd/fml-1.0.1.xsd"
-  title="Frequently Asked Questions"
-  toplink="false">
-
-  <part id="general">
-    <title>General</title>
-
-    <faq id="whats-foo">
-      <question>
-        What is Foo?
-      </question>
-      <answer>
-        <p>some markup goes here</p>
-
-        <source>some source code</source>
-
-        <p>some markup goes here</p>
-      </answer>
-    </faq>
-
-    <faq id="whats-bar">
-      <question>
-        What is Bar?
-      </question>
-      <answer>
-        <p>some markup goes here</p>
-      </answer>
-    </faq>
-  </part>
-
-  <part id="install">
-
-    <title>Installation</title>
-
-    <faq id="how-install">
-      <question>
-        How do I install Foo?
-      </question>
-      <answer>
-        <p>some markup goes here</p>
-      </answer>
-    </faq>
-
-  </part>
-
-</faqs>
\ No newline at end of file
+<faqs xmlns="http://maven.apache.org/FML/1.0.1" 
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+       xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 http://maven.apache.org/xsd/fml-1.0.1.xsd" 
+       title="Troubleshooting" 
+       toplink="true">
+       <part id="general">
+               <title>General</title>
+               <faq id="whats-foo">
+                       <question>How can I configure logging in the editor?</question>
+                       <answer>
+                               <p>To get log4j to read your own configuration when developing the editor or 
+                                       anything that has to do with cdmLibrary eclipse plugin you have to tell 
+                                       log4j explicitly what configuration it should use. Otherwise it will scan 
+                                       the classpath and use the first log4j.xml/log4j.properties file it finds 
+                                       (which is mostly the log4j.properties in cdmlib-commons as it will be the 
+                                       first one it encounters).</p>
+                               <p>Passing the following argument to the Virtual Machine however does the trick:</p>
+                               <source>-Dlog4j.configuration=file:///&lt;path to your personal\&gt;/log4j.properties</source>
+                               <p>If you run into trouble , you can debug log4j's startup sequence by passing 
+                                       another argument to the VM.</p>
+                               <source>-Dlog4j.debug</source>
+                       </answer>
+               </faq>
+       </part>
+</faqs>