All you need to do is adding a log4j.xml to your classpath (when using
maven in src/main/resources)

eg:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/";>

  <appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
    <layout class="org.apache.log4j.SimpleLayout"/>
  </appender>

  <root>
    <priority value ="debug" />
    <appender-ref ref="ConsoleAppender"/>
  </root>

</log4j:configuration>

On Sun, May 16, 2010 at 4:27 AM, Roger Lee <[email protected]> wrote:
> Oops, pushed the wrong button.
>
> What I wanted to say was congratulations to all who help on this project.
> After setting JAVA_HOME and editing some configuration files I had the
> stand-alone and Windows servers version up and running. Well maybe not in 5
> minutes but still relatively painless.  Great work and thanks!
>
> I have been working on my embedded version and even that is going well. Just
> one question. What do I have to do to get the logging system to work?
>
> Roger
>



-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

Reply via email to