Hello and thanks,
i now get it from the log4j.properties
and set it by my programm as
log4jLogger.setResourceBundle(getByKeyFromLog4j.properties)
by a own class.
In any case, i believe there should be a standard way to configure logging by
different languages
guided by the selected language.
Hello,
excuse, maybe it is not posible to declare/instantiate automatically the
ResourceBundle for my Messages, which i want get by key ?
I am Looking for something like this :
log4j.appender.W.layout=com.letaba.bpi.util.BPIWebLayout
log4j.appender.XML=org.apache.log4j.RollingFileAppender
I don't know about that. I do know that the XML format supports more
things so you may want to look into that.
On 7/13/06, Braumüller, Hans [EMAIL PROTECTED] wrote:
Hello,
excuse, maybe it is not posible to declare/instantiate automatically the
ResourceBundle for my Messages, which i want
Hello,
is there a way to configure in the log4j.properties where my
messages_*.properties lies,
which now i have tell by my proramm ?
MESSAGES_RESBUNDLE = lib/messages;
Thanks,
Hans Braumüller
Licenciado en Artes Plásticas
Systementwicklung
Hanse Orga AG
Oldesloer Straße 63
D-22457
You can give an absolute or relative path in the properties file.
On 7/12/06, Braumüller, Hans [EMAIL PROTECTED] wrote:
Hello,
is there a way to configure in the log4j.properties where my
messages_*.properties lies,
which now i have tell by my proramm ?
MESSAGES_RESBUNDLE = lib/messages;
Hello,
thanks,
but how ??
log4j.appender.XML.??
I cannot find anything in the FAQ or Google.
Greetings from Hamburg,
Hans
You can give an absolute or relative path in the properties file.
On 7/12/06, Braumüller, Hans [EMAIL PROTECTED] wrote:
Hello,
is there a way to configure in
Do you have a properties file already? If yes the post it. In no
then look at the examples under the Configuration section of
http://logging.apache.org/log4j/docs/manual.html
On 7/12/06, Braumüller, Hans [EMAIL PROTECTED] wrote:
Hello,
thanks,
but how ??
log4j.appender.XML.??
I cannot