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

2018-12-19 Thread Ralph Goers
I don’t think I completely understand what is going on in your app server. It appears that you have one application that is starting up with a LoggerContext name of custom name and uses classpath:conf-customname-digital-log4j2.xml for its configuration. I then see it trying to configure Log4j fo

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

2018-12-19 Thread Leo R
Hi! i actived log4j.debug and i give this: log4javaDebug.txt In this debug logs my custom file is charged but log4j2 do the reconfiguration: DEBUG StatusLogger Reconfiguration started for context[name=1e163e2] at URI null (org.apache.logging.log4j.core.LoggerContext@139ae54a) with optional ClassL

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

2018-12-13 Thread Leo R
Hi all! I have 5 web.xml because i have different maven projects inside my main project. Main: · main-core · main-app · main-web (in this web.xml I am writing my configuration) · child-name1-core · child-name1-web · child-name2-core ·

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

2018-12-07 Thread Matt Sicker
Could you define the system property "log4j2.debug" and include the debug log info? On Fri, 7 Dec 2018 at 02:59, Leo R wrote: > Hi! > Yes i included core, api and web. > I tested: > log4j2-name.xml ->not found > Property on web.xml -> not found > Could you give more ideas please? > > El El mié,

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

2018-12-07 Thread Leo R
Hi! Yes i included core, api and web. I tested: log4j2-name.xml ->not found Property on web.xml -> not found Could you give more ideas please? El El mié, 5 dic 2018 a las 23:28, Matt Sicker escribió: > Are you including log4j-web in your war as well? > > On Wed, 5 Dec 2018 at 10:43, paginas wro

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