ceki 2002/06/11 15:00:56 Modified: src/xdocs/lf5 Tag: v1_2-branch trouble.xml Added: src/xdocs/lf5 Tag: v1_2-branch faq.xml Log: Added a faq section to lf5 docs. Revision Changes Path No revision No revision 1.1.2.2 +17 -8 jakarta-log4j/src/xdocs/lf5/Attic/trouble.xml Index: trouble.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/src/xdocs/lf5/Attic/trouble.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- trouble.xml 11 Jun 2002 21:49:10 -0000 1.1.2.1 +++ trouble.xml 11 Jun 2002 22:00:56 -0000 1.1.2.2 @@ -39,7 +39,10 @@ # of backup files. log4j.appender.R.layout=org.apache.log4j.PatternLayout -log4j.appender.R.layout.ConversionPattern=[slf5s.start]%d{DATE}[slf5s.DATE]%n%p[slf5s.PRIORITY]%n%x[slf5s.NDC]%n%t[slf5s.THREAD]%n%c[slf5s.CATEGORY]%n%l[slf5s.LOCATION]%n%m[slf5s.MESSAGE]%n%n +# Edited to fit. +log4j.appender.R.layout.ConversionPattern=[slf5s.start]%d{DATE}[slf5s.DATE]%n\ + %p[slf5s.PRIORITY]%n%x[slf5s.NDC]%n%t[slf5s.THREAD]%n\ + %c[slf5s.CATEGORY]%n%l[slf5s.LOCATION]%n%m[slf5s.MESSAGE]%n%n log4j.appender.R.MaxFileSize=100KB log4j.appender.R.MaxBackupIndex=1</font></pre> @@ -170,7 +173,8 @@ line syntax for the SocketServer is as follows: </p> <pre> - java org.apache.log4j.net.SocketServer portNumber configurationFile configurationDirectory + java org.apache.log4j.net.SocketServer portNumber configurationFile\ + configurationDirectory </pre> @@ -211,16 +215,21 @@ the category explorer window, and choose "Remove All Empty Categories". If you want to get rid of this old configuration information permanently, you should choose - Configure->Reset from the menu as well.</p> <hr/> + Configure->Reset from the menu as well.</p> - <p><b>Q. I'm using Ant to build my project and one of my tasks is to execute a - series of JUnit tests. When I attempt to use the LF5Appender as an appender - I get the following exception thrown: </b></p> + <hr/> + + <p><b>Q. I'm using Ant to build my project and one of my tasks + is to execute a series of JUnit tests. When I attempt to use + the LF5Appender as an appender I get the following exception + thrown: </b> + </p> <pre> java.lang.NullPointerException - at javax.swing.ImageIcon.<init>(ImageIcon.java:134) - at org.apache.log4j.lf5.viewer.channelexplorer.ChannelNodeRenderer.<init>(ChannelNodeRenderer.java:71) + at javax.swing.ImageIcon.<init>(ImageIcon.java:134) + at org.apache.log4j.lf5.viewer.channelexplorer.ChannelNodeRenderer. + <init>(ChannelNodeRenderer.java:71) ... etc. </pre> No revision No revision 1.1.2.1 +40 -0 jakarta-log4j/src/xdocs/lf5/Attic/faq.xml
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>