Hi Anton,
You have a configuration file for log4j attached. The format is simple. You have appenders which define the destination and format of the log messages and you have categories to which you associate zero or more appenders and specify a log level. I hope you'll find this example useful.
This configuration will fail if namespace support is enabled for the XML parser. The offending code is:
<log4j:configuration/>
To be correct it needs <log4j:configuration xmlns:log4j="...."/>
The elipsis needs to be filled in with the appropriate namespace.
We might need to stipulate that namespaces cannot be used with the ConfigurationBuilder for log4j.
Regards, Peter.
Anton Tagunov wrote:
Hello Peter!
PS> Hi Anton,
PS> I will try to test your code as soon as possible. Unfortunately at this PS> moment I am fighting other problems in fortress. I hope I won't regret PS> my choice.
Ok, a very familiar situation (to be in a fix about time, not about fortress :-)
Maybe you'll just send me one of your log4j conf files?
The truth is I'm in a fix too, in such a fix, I don't even have time to dig a sample conf file from the distribution, but if you send me one maybe I'll test that part of code.
- Anton
P.S. will try to help you with your other problems if I can. Seems I'm quite familiar with fortress guts by now :-)
------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war. And the 3 most powerful men in America are named 'Bush', 'Dick', and 'Colon' (sic)".
-----Chris Rock
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
