Re: configure messages (newbie)

2006-07-14 Thread Braumüller , Hans
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.

Re: configure messages (newbie)

2006-07-13 Thread Braumüller , Hans
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

Re: configure messages (newbie)

2006-07-13 Thread James Stauffer
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

configure messages (newbie)

2006-07-12 Thread Braumüller , Hans
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

Re: configure messages (newbie)

2006-07-12 Thread James Stauffer
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;

Re: configure messages (newbie)

2006-07-12 Thread Braumüller , Hans
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

Re: configure messages (newbie)

2006-07-12 Thread James Stauffer
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