Here is my console debug with status="trace".
I found that log4j2 didn't get SleepWaitingStrategy by default and I didn't
find includeLocation in console.
2015-10-12 18:55:25,424 DEBUG Starting LoggerContext[name=2090228673] from
configuration at jndi:/localhost/WEB-INF/log4j2.xml
2015-10-12
Can you change the configuration to start with
On 2015/10/12, at 15:22, Strong Su wrote:
>
> Hi Remko. Thanks for the reply.
> I changed includeLocation to false and re-run the test.
> But it didn't change better. QPS is still about 5000.
>
> I found user occupies CPU for
Hi Remko. Thanks for the reply.
I changed includeLocation to false and re-run the test.
But it didn't change better. QPS is still about 5000.
I found user occupies CPU for about 70% when I run sync log4j1 and sync
log4j2.
But when I run async log4j2, it's only about 30% and system occupies for
I'm using Log4j 2.3 and Disruptor 3.2.
Because of third party package like spring, I have to use Log4j 1.2 and
slf4j 1.5 too.
On Tue, Oct 13, 2015 at 7:15 AM, Remko Popma wrote:
> Output looks ok.
> Sleep was the default wait strategy but has been changed to Block a long
Output looks ok.
Sleep was the default wait strategy but has been changed to Block a long
time ago. Looks like the docs are out of date. Thanks for drawing my
attention to this.
I don't understand why changing the includeLocation does not make a
difference in performance. You should see a large
For log4j1, are you using the log4j-1.2-api-2.x.jar? And similarly the
log4j-slf4j-impl-2.x.jar for SLF4J? (Just checking...)
Sent from my iPhone
> On 2015/10/13, at 11:43, Gary Gregory wrote:
>
> Can you use 2.4?
>
> Gary
>
>> On Mon, Oct 12, 2015 at 6:56 PM, Strong
Using 2.4 will have some difficulties cause we are still using Java 1.6.
May the problem be I'm using an older version of log4j?
By the way, here is how I log in the request function:
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
{...}
private static final
Here is my pom.xml for logging:
log4j
log4j
1.2.16
org.slf4j
slf4j-log4j12
1.5.11
org.slf4j
slf4j-api
1.5.11
org.apache.logging.log4j
log4j-api
2.3
org.apache.logging.log4j
log4j-core
2.3
org.apache.logging.log4j