directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fe...@otego.com>
Subject Re: Lack of logs for the ACI sunsystem
Date Fri, 02 Jul 2010 18:21:07 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> will see how the log4j xml config works, if anyone of you guys used it
> in the recent time please reply this saves sometime :)

Something like that?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="false">
   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
      <param name="Target" value="System.out"/>
      <layout class="org.apache.log4j.PatternLayout">
         <param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p
[%-25c] %m%n"/>
      </layout>
   </appender>

<!-- Just add as many categories as wanted for packages or single
classes -->
   <category name="[packager name|FQCN]">
      <priority value="WARN"/>
   </category>

   <category name="org.apache.directory.server">
      <priority value="WARN"/>
   </category>
   <category name="org.apache.directory.shared.MyClass">
      <priority value="DEBUG"/>
   </category>
   <root>
      <priority value="ERROR"/>
      <appender-ref ref="CONSOLE"/>
   </root>
</log4j:configuration>


Felix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwuLhMACgkQ2lZVCB08qHHTYgCgimsDA27XFn38Mb1KjTTB2Z4h
2kQAoIaxWUxX3NqDowxUgDn2W7nLQSxZ
=PbuD
-----END PGP SIGNATURE-----

Mime
View raw message