<rdf:RDF
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xml:base='http://wiki.marandcustomsolutions.com/rdf'>
    <s:Snip rdf:about='http://wiki.marandcustomsolutions.com/rdf#Development/Java+%26+J2EE/Logging'
         s:cUser='mpecher'
         s:oUser=''
         s:mUser='mpecher'>
        <s:name>Development/Java &amp; J2EE/Logging</s:name>
        <s:content>For logging, should nodays be using the Commons logger (instead of directly referencing log4j).&#xD;&#xA;ie:&#xD;&#xA;{code}&#xD;&#xA;public class MyClass {&#xD;&#xA;&#xD;&#xA;private static final Log LOG = LogFactory.getLog(MyClass.class);&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;{code}&#xD;&#xA;&#xD;&#xA;Levels:&#xD;&#xA;{code}&#xD;&#xA;static Level DEBUG - The DEBUG Level designates fine-grained informational&#xD;&#xA;                     events that are most useful to debug an application.&#xD;&#xA;static Level INFO - The INFO level designates informational messages that&#xD;&#xA;                     highlight the progress of the application at coarse-grained level.&#xD;&#xA;static Level WARN - The WARN level designates potentially harmful situations.&#xD;&#xA;static Level ERROR - The ERROR level designates error events that might still&#xD;&#xA;                     allow the application to continue running.&#xD;&#xA;static Level FATAL - The FATAL level designates very severe error events that &#xD;&#xA;                     will presumably lead the application to abort. &#xD;&#xA;{code}&#xD;&#xA;Ref:&#xD;&#xA;http://www.allapplabs.com/log4j/log4j_appenders.htm&#xD;&#xA;&#xD;&#xA;----&#xD;&#xA;1 Additinal logging toolsets:&#xD;&#xA;AuditLog: http://www.acelet.org/_auditlog/AuditLog.html</s:content>
        <s:mTime>2008-04-23 12:45:24.0</s:mTime>
        <s:cTime>2006-01-03 12:28:25.0</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java &amp; J2EE'/>
                <rdf:li rdf:resource='#snipsnap-index'/>
                <rdf:li rdf:resource='#Development'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java &amp; J2EE/Hibernate'/>
                <rdf:li rdf:resource='#snipsnap-search'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#bidz/tomcat/prod-server.xml'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java &amp; J2EE/Websphere/Portal/themes'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java+&amp;+J2EE/Logging'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Linux/Understanding memory usage'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java &amp; J2EE/Websphere'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Entity Relationship Diagram'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Version Control Systems'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java &amp; J2EE/Websphere/Java 2 Security'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#bidz/apache/xlast_tomcat.conf'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Firefox Extensions/Chrome'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#bidz/webalizer'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java &amp; J2EE/Websphere/TAM'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>

