|
[
Permlink
| « Hide
]
Martin Landers added a comment - 20/Oct/04 12:57 PM
Patch fixing the initialization issue.
Martin Landers made changes - 20/Oct/04 12:57 PM
Thanks for the patch. I've taken a slightly different take on the resolution. Using "log4j.*" environment variables was misguided in my judgement since log4j configuration is through Java VM properties not environment variables. The existing log4j.* environment variables need to be supported for compatibility, however I've given the "LOG4CXX_*" environment variables and the "log4cxx.*" files precedence over their log4j.* equivalents. So if a directory has log4j.properties and log4cxx.properties, then one will be used to configure Java apps and the other for C++ apps. That seems more desirable than using log4j.properties to control both and ignore the log4cxx.properties file.
I'd be surprised if this (or the existing code) builds on Win32 since "stat" is typically "_stat" on that platform, but I'm pretty sure that build has been broken for a couple of months and I'll fix it up in one go. I've modified build.xml so that the default configuration unit test is run under additional scenarios, with LOG4CXX_CONFIGURATION environment variable set and with log4cxx.properties and log4j.properties files present. CVS commit message: http://nagoya.apache.org/eyebrowse/ReadMsg?listName=log4cxx-dev@logging.apache.org&msgNo=319
Curt Arnold made changes - 22/Oct/04 04:55 AM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||