Hi,
I am quiet new to log4j. we were trying to use
internationalization feature of log4j. So to do that
we need to set the resource bundle for each logger
being created. we were able to do that by setting the
logger resource bundle in code.
logger.setResourceBundle("FatalMessages.properties");
But is there any way to set the resource bundle
through configuration properties. So that we can have
separate resource bundle for each module logger.
log4j.rootLogger=DEBUG,fileAppender
log4j.logger.module.Bootup=DEBUG,module
log4j.additivity.module.Bootup=false
log4j.resourceBundle.module.Bootup=FatalMessages.properties
is this the correct way to set the resource bundle
property. Because nothing is happening after doing
this looks like it is ignoring the property.
I am using log4j 1.2.8
Thanks in advance,
Jai K
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]