markyag-spgdji opened a new issue, #4058:
URL: https://github.com/apache/logging-log4j2/issues/4058

   In several places in Loader, such as here:
   
https://github.com/apache/logging-log4j2/blob/2.x/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Loader.java#L94
   There’s a message at trace level saying basically “Trying to find [FILENAME] 
using THINGY”.
   This is very useful, because it lets you know all the places that log4j is 
looking for config files.
   However, there’s no good way to find which of these attempts succeeded.
   Earlier today I had to put a debug breakpoint inside this class to find out 
which log4j2.xml was getting loaded.
   It would be nice if successful attempts were logged, perhaps even at a level 
higher than trace.  (maybe debug??)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to