RE: Flush in RollingRandomAccessFile

2018-09-27 Thread Joan Balagueró - ventusproxy
It seems my web.xml is ok. It's a servlet 3.1 with tomcat 8.5.32. I only have this context parameter, necessary for a correct log4j startup: http://xmlns.jcp.org/xml/ns/javaee; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;

Re: Flush in RollingRandomAccessFile

2018-09-27 Thread Ralph Goers
That depends on what servlet version you are using. Take a look at http://logging.apache.org/log4j/2.x/manual/webapp.html . Ralph > On Sep 27, 2018, at 9:02 AM, Joan Balagueró - ventusproxy > wrote: > > Hi Ralph, > > After adding the

RE: Flush in RollingRandomAccessFile

2018-09-27 Thread Joan Balagueró - ventusproxy
Hi Ralph, After adding the log4j-web-2.11.1.jar to our app, it doesn't work yet. Do I need to add something to the web.xml file, or some environment variable? Thanks, Joan. -Mensaje original- De: Ralph Goers [mailto:ralph.go...@dslextreme.com] Enviado el: jueves, 27 de septiembre de

RE: Flush in RollingRandomAccessFile

2018-09-27 Thread Joan Balagueró - ventusproxy
No, I was not using it ... I'll try now, thanks! Joan. -Mensaje original- De: Ralph Goers [mailto:ralph.go...@dslextreme.com] Enviado el: jueves, 27 de septiembre de 2018 17:33 Para: Log4J Users List Asunto: Re: Flush in RollingRandomAccessFile Are you using the log4j-web jar? It is

Re: Flush in RollingRandomAccessFile

2018-09-27 Thread Ralph Goers
Are you using the log4j-web jar? It is supposed to handle this. Ralph > On Sep 27, 2018, at 8:14 AM, Joan Balagueró - ventusproxy > wrote: > > Hello, > > > > After sending thousands of requests to our app, we stop the sender and the > log file appears like below: > > > >

Flush in RollingRandomAccessFile

2018-09-27 Thread Joan Balagueró - ventusproxy
Hello, After sending thousands of requests to our app, we stop the sender and the log file appears like below: 1,54.38.179.175,2018-09-27 16:55:51.618,A,13,A,39,A,72,A,120,N,,54.38.179.182:8080,g,8457,403,683,58,ok ,2018-09-27 16:55:51.677 1,54.38.179.17 Now we stop tomcat (when our