[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-cvs
Subject:    cvs commit: jakarta-log4j/src/xdocs download.xml
From:       ceki () apache ! org
Date:       2001-05-18 9:58:32
[Download RAW message or body]

ceki        01/05/18 02:58:31

  Modified:    build    build.xml
               docs     FAQ.html TROUBLESHOOT.html download.html
               src/xdocs download.xml
  Added:       docs/images cyberlab15.gif ecaward_finalist_logo.gif
                        logo.jpg
  Log:
  
  
  Revision  Changes    Path
  1.31      +1 -1      jakarta-log4j/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/build/build.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- build.xml	2001/05/09 20:13:57	1.30
  +++ build.xml	2001/05/18 09:58:16	1.31
  @@ -9,7 +9,7 @@
   <!-- ================================================================= -->
   <project name="log4j" default="usage" basedir=".." >
   
  -  <property name="version" value="1.1b7"/>
  +  <property name="version" value="1.1b"/>
   
     <!-- The base directory relative to which most targets are built -->
     <property name="base" value="."/>
  
  
  
  1.8       +13 -5     jakarta-log4j/docs/FAQ.html
  
  Index: FAQ.html
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/docs/FAQ.html,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- FAQ.html	2001/04/29 16:45:57	1.7
  +++ FAQ.html	2001/05/18 09:58:19	1.8
  @@ -7,7 +7,7 @@
   <h1 align=center>Frequently Asked Questions about log4j</h1>
   
   <h2 align=center>Ceki G&uuml;lc&uuml;
  -<br>October 2000</h2>
  +<br>May 2001</h2>
   
   <ul>
   
  @@ -18,6 +18,7 @@
   <li><p><a href=#alternatives>What other logging packages are there?</a>
   <li><p><a HREF=#usageExample>Is there example code for using log4j?</a>
   <li><p><a href=#features>What are the features of log4j?</a> 
  +<li><p><a href=#thread-safety>Is log4j thread-safe?</a> 
   <li><p><a href=#sample>What does log output look like?</a>
   <li><p><a href=#category>What are <em>Categories</em>?</a>
   <li><p><a href=#behavior>How can I change log behavior at runtime?</a>
  @@ -182,6 +183,8 @@
         
     <p><li>log4j is fail-stop but not reliable.
   
  +  <p><li>log4j is thread-safe.
  +
     <p><li>log4j is not restricted to a predefined set of facilities.
   
     <p><li>Logging behavior can be set at runtime using a configuration
  @@ -209,6 +212,10 @@
          
   </ul>
   
  +<a name=thread-safety><h4 id="">Is log4j thread-safe?</h4>
  +
  +Yes, log4j is thread-safe. 
  +
   <a name=sample><h4 id="">What does log output look like?</h4>
   
   The log output can be customized in many ways. Moreover, one can completely
  @@ -565,10 +572,11 @@
   <p><a name=tax><h4>Why should I donate my extensions to log4j back to the
   project?</h4>
   
  -Contrary to the GNU Public License (GPL) the Apache Public License
  -does not make any claims over your extensions. <em>You are free to do
  -whatever you wish with your proprietary log4j extensions.</em> In
  -particular, you may choose to never release your extensions to the
  +Contrary to the GNU Public License (GPL) the Apache Software License
  +does not make any claims over your extensions. By extensions, we mean
  +totally new code that invokes existing log4j classes. <em>You are free
  +to do whatever you wish with your proprietary log4j extensions.</em>
  +In particular, you may choose to never release your extensions to the
   wider public.
   
   <p>We are very careful not to change the log4j client API so that
  
  
  
  1.8       +33 -8     jakarta-log4j/docs/TROUBLESHOOT.html
  
  Index: TROUBLESHOOT.html
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/docs/TROUBLESHOOT.html,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TROUBLESHOOT.html	2001/05/09 20:16:18	1.7
  +++ TROUBLESHOOT.html	2001/05/18 09:58:20	1.8
  @@ -6,8 +6,8 @@
    
   <h1 align=center>Log4j troubleshooting</h1>
   
  -<h2 align=center>Ceki G&uuml;lc&uuml;
  -<br>November 2000</h2>
  +<h2 align=center>Ceki G&uuml;lc&uuml; Paul Glezen
  +<br>May 2001</h2>
    
   <hr>
   
  @@ -28,6 +28,8 @@
   
   <li><p><a href=#notfound>My EJB/Servlet/JSP says log4j class not \
found/defined.</a>  
  +<li><p><a href=#syslogd>I cannot connect to syslogd under linux.</a>
  +
   </ul>
   
   <hr>
  @@ -49,7 +51,7 @@
   root category.
   
   
  -<p><a name=duplicates><h4>Duplicates in log4j output.</h4>
  +<p><a name=duplicates><h3>Duplicates in log4j output.</h3>
   
   <p>The reason for observing duplicates in log4j output is either due
   to having added the same appender multiple times to the same category
  @@ -77,7 +79,7 @@
   because <code>A</code> is in root and once because it is in
   <code>C</code>. 
   
  -<p><a name=space><h4>Options are not parsed correctly.</h4>
  +<p><a name=space><h3>Options are not parsed correctly.</h3>
   
   The PropertyConfigurator relies on <code>java.util.Properties</code>
   class to read in the configuration file. This class preserves spaces
  @@ -99,7 +101,7 @@
   behavior where option values are not all automatically trimmed. 
   
   
  -<p><a name=jit><h4>Location information is printed as a "?" character.</h4>
  +<p><a name=jit><h3>Location information is printed as a "?" character.</h3>
   
   Location information is extracted automatically by the PatternLayout
   conversion patterns %C, %F, %M and %L. However, some just-in-time
  @@ -111,8 +113,8 @@
   <p>You can remedy this problem by disabling the JIT compiler and by
   compiling the code without the -O option.
   
  -<p><a name=cce><h4><code>ClassCastException</code> when instantiating
  -a <code>Category</code> subclasses.</a></h4>
  +<p><a name=cce><h3><code>ClassCastException</code> when instantiating
  +a <code>Category</code> subclasses.</a></h3>
   
   <p>This exception is thrown because log4j does not support
   homonyms. For example, the following will systematically throw a
  @@ -142,7 +144,7 @@
   <p>The <code>DOMConfigurator</code> has a finer grain method for
   setting the class of the category object to instantiate.
   
  -<p><a name=notfound><h4>Log4j class not found/defined</h4>
  +<p><a name=notfound><h3>Log4j class not found/defined</h3>
   
   <p>Naturally you should check the classpath.  But you should also 
   be aware of the presence of multiple classloaders in the JVM:
  @@ -190,6 +192,29 @@
   <a href="http://www7.software.ibm.com/vadd-bin/ftpdl?1/vadc/wsdd/pdf/gisell/UnderstandingWebSphereClassLoaders.pdf">here</a> \
  in PDF format.
   
  +<h3><p><a name="syslogd">I cannot log to syslogd under linux.</a></h3>
  +
  +If you are trying to log to the Unix syslog under Linux using the <a
  +href="api/org/apache/log4j/net/SyslogAppender.html">SyslogAppender</a>,
  +then the Linux syslog daemon must be configured to accept log input
  +from the network.  Otherwise, you will get an <code>IOException:
  +connection refused</code>.
  +
  +<p>This can be done by adding the <code>-r</code> option when starting
  +the daemon. Or more precesiely:
  +
  +<ol>
  +<li>Login as the <code>root</code> user
  +<li>Edit file <code>/etc/rc/init.d/syslog</code>
  +<pre>
  +case "$1" in
  +  start)
  +        echo -n "Starting system logger: "
  +        daemon syslogd -r
  +</pre>
  +
  +<li><code>/etc/rc/init.d/syslog restart</code>
  +</ol>
   
   
   </body>
  
  
  
  1.24      +1 -1      jakarta-log4j/docs/download.html
  
  Index: download.html
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/docs/download.html,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- download.html	2001/05/09 20:14:03	1.23
  +++ download.html	2001/05/18 09:58:22	1.24
  @@ -126,7 +126,7 @@
   to browse log4j <a href="documentation.html"><b>documentation</b></a>
   online. This release candidate should be sanctioned as the official
   1.1 release after a short period of probation.</p>
  -                                                <p>Version 1.1b7 is the 21st major \
public release of log4j. It is 100%  +                                                \
<p><a href="http://www.javaworld.com/javaworld/jw-05-2001/jw-0504-finalists.html"><img \
src="images/ecaward_finalist_logo.gif" align="right" border="0" /></a>Version 1.1b7 \
is the 21st major public release of log4j. It is 100%  backward compatible with log4j \
                version 1.0.x.</p>
                                                   <p>We also maintain a list of <a \
href="earlier.html">earlier  versions</a> of log4j for download, intended for the \
curious  
  
  
  1.1                  jakarta-log4j/docs/images/cyberlab15.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-log4j/docs/images/ecaward_finalist_logo.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-log4j/docs/images/logo.jpg
  
  	<<Binary file>>
  
  
  1.20      +1 -1      jakarta-log4j/src/xdocs/download.xml
  
  Index: download.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/xdocs/download.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- download.xml	2001/05/09 19:40:06	1.19
  +++ download.xml	2001/05/18 09:58:30	1.20
  @@ -42,7 +42,7 @@
   online. This release candidate should be sanctioned as the official
   1.1 release after a short period of probation.</p>
   
  -<p>Version 1.1b7 is the 21st major public release of log4j. It is 100%
  +<p><a href="http://www.javaworld.com/javaworld/jw-05-2001/jw-0504-finalists.html"><img \
src="images/ecaward_finalist_logo.gif" align="right" border="0"/></a>Version 1.1b7 is \
the 21st major public release of log4j. It is 100%  backward compatible with log4j \
version 1.0.x.</p>  
   <p>We also maintain a list of <a href="earlier.html">earlier
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-cvs-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic