On Dec 5, 2007, at 9:30 PM, srinivas ramgopal wrote:


Hi all,

A newbie question - Is there a way to avoid hard coding of the database connection values in the JDBCAppender in log4j.xml? In other words, can a
datasource be referenced in log4j.xml?

Any pointers to code snippets is highly appreciated.

Thanks in advance for yout valuable input.



You can use ${SYSTEMPROPERTYNAME} in parameter values to replace with the value of a system property.

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

Reply via email to