The version of Apache log4j used by SoundHelix.

[[ 🗃 ^aEp6o apache-log4j ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/aEp6o

SSH: git clone USERNAME@vervis.peers.community:aEp6o

Branches

Tags

v_1_1b5 :: docs /

index.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<!-- Content Stylesheet for Site -->

        
<!-- start the processing -->
    <!-- ====================================================================== -->
    <!-- Main Page Section -->
    <!-- ====================================================================== -->
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

                                                    <meta name="author" value="Ceki Gulcu">
            <meta name="email" value="cgu@apache.org">
            
            <title>Log4j project - log4j project</title>
        </head>

        <body bgcolor="#ffffff" text="#000000" link="#525D76">        
            <table border="0" width="100%" cellspacing="0">
                <!-- TOP IMAGE -->
                <tr>
                    <td align="left">
<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" border="0"/></a>
</td>
<td align="right">
<a href="http://jakarta.apache.org/"><img src="./images/logo.jpg" alt="The log4j project" border="0"/></a>
</td>
                </tr>
            </table>
            <table border="0" width="100%" cellspacing="4">
                <tr><td colspan="2">
                    <hr noshade="" size="1"/>
                </td></tr>
                
                <tr>
                    <!-- LEFT SIDE NAVIGATION -->
                    <td valign="top" nowrap="true">
                                <p><strong>Log4j Project</strong></p>
        <ul>
                    <li>    <a href="./index.html">Introduction</a>
</li>
                    <li>    <a href="./download.html">Download</a>
</li>
                    <li>    <a href="./documentation.html">Documentation</a>
</li>
                    <li>    <a href="./contactUs.html">Contact us</a>
</li>
                    <li>    <a href="./history.html">History</a>
</li>
                </ul>
            <p><strong>Get Involved</strong></p>
        <ul>
                    <li>    <a href="http://jakarta.apache.org/site/getinvolved.html">Overview</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/cvsindex.html">CVS Repositories</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/mail.html">Mailing Lists</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/library.html">Reference Library</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/bugs.html">Bug Database</a>
</li>
                </ul>
            <p><strong>Other Projects</strong></p>
        <ul>
                    <li>    <a href="http://jakarta.apache.org/ant/index.html">Ant</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/avalon/index.html">Avalon</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/commons/index.html">Commons</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/ecs/index.html">ECS</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/james/index.html">James</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/jetspeed/index.html">Jetspeed</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/jmeter/index.html">JMeter</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/log4j/index.html">Log4J</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/oro/index.html">ORO</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/regexp/index.html">Regexp</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/slide/index.html">Slide</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/struts/index.html">Struts</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/taglibs/index.html">Taglibs</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/tomcat/index.html">Tomcat</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/turbine/index.html">Turbine</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/velocity/index.html">Velocity</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/watchdog/index.html">Watchdog</a>
</li>
                </ul>
            <p><strong>Misc</strong></p>
        <ul>
                    <li>    <a href="http://jakarta.apache.org/site/whoweare.html">Who We Are</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/acknowledgements.html">Acknowledgements</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/contact.html">Contact</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/legal.html">Legal</a>
</li>
                </ul>
                        </td>
                    <td align="left" valign="top">
                                                                    <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Introduction"><strong>Introduction</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>Inserting log statements into your code is a low-tech method for
debugging it.  It may also be the only way because debuggers are not
always available or applicable.  This is often the case for 
distributed applications.</p>
                                                <p>On the other hand, some people argue that log statements pollute
source code and decrease legibility. (We believe that the contrary is
true).  In the Java language where a pre-processor is not available,
log statements increase the size of the code and reduce its speed,
even when logging is turned off.  Given that a reasonably sized
application may contain thousands of log statements, speed is of
particular importance.</p>
                                                <p>With log4j it is possible to enable logging at runtime without
modifying the application binary. The log4j package is designed so
that these statements can remain in shipped code without incurring a
heavy performance cost. Logging behavior can be controlled by editing
a configuration file, without touching the application binary.</p>
                                                <p>Logging equips the developer with <i>detailed context</i> for
application failures. On the other hand, testing provides quality
assurance and confidence in the application. Logging and testing
should not be confused. They are complementary. When logging is wisely
used, it can prove to be an essential tool.</p>
                                                <p>One of the distinctive features of log4j is the notion of
<i>inheritance</i> in categories. Using a category <em>hierarchy</em>
it is possible to control which log statements are output at
arbitrarily fine granularity but also great ease. This helps reduce
the volume of logged output and minimize the cost of logging.</p>
                                                <p>The target of the log output can be a file, an
<code>OutputStream</code>, a <code>java.io.Writer</code>, a remote
log4j server, a remote Unix Syslog daemon or even a NT Event logger.</p>
                                                <p>On a 233 MHz ThinkPad running JDK 1.1.7B, it costs about 46
nano-seconds to determine if that statement should be logged or
not. Actual logging is also quite fast, ranging from 79 micro-seconds
using the SimpleLayout, 164 micro-seconds using the TTCCLayout and
around a millisecond when printing exceptions. The performance of the
PatternLayout is almost as good as the dedicated layouts, except that
it is a lot more flexible.</p>
                                                <p>The package is being constantly improved thanks to input from users
and code contributed by authors in the community.</p>
                            </blockquote>
      </td></tr>
    </table>
                                        </td>
                </tr>

                <!-- FOOTER -->
                <tr><td colspan="2">
                    <hr noshade="" size="1"/>
                </td></tr>
                <tr><td colspan="2">
                    <div align="center"><font color="#525D76" size="-1"><em>
                    Copyright &#169; 1999-2001, Apache Software Foundation
                    </em></font></div>
                </td></tr>
            </table>
        </body>
    </html>
<!-- end the processing -->















[See repo JSON]