Re: Problem with log4j2.configurationFile. Using log4j2.properties with custom file name.

2018-12-05 Thread Matt Sicker
Are you including log4j-web in your war as well? On Wed, 5 Dec 2018 at 10:43, paginas wrote: > I added in my web.xml > > log4jConfiguration > file:///C:/ > name > / > src > /particularName/ > configuracion > / > entorno > / > conf > -especial-name-log4j2.properties > param-valu

Re: Problem with log4j2.configurationFile. Using log4j2.properties with custom file name.

2018-12-05 Thread paginas
I added in my web.xml log4jConfiguration file:///C:/ name / src /particularName/ configuracion / entorno / conf -especial-name-log4j2.properties param-value > And my application not works Could you give more support please? > El 5 dic 2018, a las

Re: Problem with log4j2.configurationFile. Using log4j2.properties with custom file name.

2018-12-05 Thread Ralph Goers
From what you are describing I would set log4jConfiguration in your web application’s web.xml as a context parameter. See http://logging.apache.org/log4j/2.x/manual/webapp.html . Ralph > On Dec 5, 2018, at 7:54 AM, paginas wrote: > > D

Re: Problem with log4j2.configurationFile. Using log4j2.properties with custom file name.

2018-12-05 Thread Ralph Goers
Even simpler. Just name the file "log4j2-name.xml” where “name” is the name of the web application. Ralph > On Dec 5, 2018, at 8:23 AM, Ralph Goers wrote: > > From what you are describing I would set log4jConfiguration in your web > application’s web.xml as a context parameter. See > http://

Problem with log4j2.configurationFile. Using log4j2.properties with custom file name.

2018-12-05 Thread paginas
Dear Log4j Team, First of all, thanks for your work. I am Leo, an Spanish web developer that need some help. I am migrating one of our project from slf4j v. 1.7.21 to log4j v.2.11.1 and I have this problem: -In my web project, we need to have the log4j.configurationFile with a particular n