You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2011/11/04 12:45:10 UTC

DO NOT REPLY [Bug 52133] New: Logging of configuration URLs/Paths on log4j configuration

https://issues.apache.org/bugzilla/show_bug.cgi?id=52133

             Bug #: 52133
           Summary: Logging of configuration URLs/Paths on log4j
                    configuration
           Product: Log4j
           Version: 1.2
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Configurator
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: shopalias1@techno.ms
    Classification: Unclassified


Can you please have all Configurators log the URL / path of the configuration
files on log4j initialization? Currently,
PropertyConfigurator.doConfigure(URL...) does this, but
PropertyConfigurator.doConfigure(String configFileName...) should do it as
well, and DomConfigurator.doConfigure(String / URL) should do that also.
Sometimes setting the system property log4j.debug is very helpful to find out
the location of configuration file that is actually taken. But currently it
isn't since that important information is only logged in some circumstances.
Thanks so much!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


DO NOT REPLY [Bug 52133] Logging of configuration URLs/Paths on log4j configuration

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52133

Hans-Peter Stoerr <sh...@techno.ms> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shopalias1@techno.ms

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org