I can't see any logs when using this.
There doesn't seem to be any way to configure where the logs should be.
Is it just enough to include the 2 jars, the war and add an appender to log4j?
What does the message "Try to broaden your search.." mean?
I created an EAR containing log2web.war and my own war.
My war contained log2web-server.jar and log2web-server-log4j.jar and the following log4j.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="stdoutDev" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d[%t][%-5p](%F:%L)- %m%n"/>
</layout>
</appender>
<appender name="MEM" class="net.sf.log2web.plugins.log4j.MemoryAppender">
<param name="Threshold" value="DEBUG"/>
</appender>
<root>
<priority value="DEBUG"/>
<appender-ref ref="stdoutDev"/>
<appender-ref ref="MEM"/>
</root>
</log4j:configuration>
I added the sources to my project and the strange thing is that the Messages get added to the storage on startup but when the viewlog page is opened the viewLogsForm records is always empty.