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 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
log4j.appender.XML.Append=true
log4j.appender.XML.MaxFileSize=50KB
log4j.appender.XML.MaxBackupIndex=9
log4j.appender.XML.File=bpiweb.xml
log4j.appender.XML.layout.LocationInfo=true
log4j.appender.XML.layout=com.letaba.bpi.util.BPIXMLLayout

#NOW THIS WOULD BE COOL! ------------------------
log4.ResourceBundle=lib/messages
'-----------------------------------------------
to avoid in my programm:

log4jLogger.setResourceBundle(messagesResBundle);

DO You know a weblink where i can find all properties, which i can declare in 
the log4j.properties ?

Thanks for your efforts,

Hans





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 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 the log4j.properties where my 
messages_*.properties lies,
> > which now i have tell by my proramm ?
> >
> > MESSAGES_RESBUNDLE = "lib/messages";
>


--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Die Optimierung des Working Capitals unterstützt Unternehmen dabei, 
wettbewerbsfähig zu bleiben. Viele Unternehmen generieren bereits durch aktive 
Gestaltung der Financial Supply Chain einen echten Mehrwert.

Unsere Softwarelösungen helfen Ihnen, das betriebliche Wertschöpfungspotential 
vollständig auszunutzen! Informieren Sie sich bei unseren Finance Experten:

Tel.: +49 (0)40 51 48 08 - 0
Fax: +49 (0)40 51 48 08 - 88
[EMAIL PROTECTED]
www.hanseorga.de


Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte 
Weitergabe dieser E-Mail ist nicht gestattet.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to