Datasource settings in config file for jdbcappender.

2007-12-05 Thread srinivas ramgopal
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. -- V

Re: logging to database - newbie question.

2007-11-26 Thread srinivas ramgopal
Hi all I just noticed that log4j's dbappender is part of the http://logging.apache.org/log4j/1.3 and this project seem to be abandoned??? If so, I am better of sticking to org.apache.log4j.jdbcplus.jdbcappender from http://www.dankomannhaupt.de/projects/index.html ??? Please let me know. Thank

logging to database - newbie question.

2007-11-26 Thread srinivas ramgopal
Hi all, I am new to database logging and exploring ways to do it in my J2EE application that uses Java v5, Weblogic application server 9x. Thus I would like to know whether I can use org.apache.log4j.jdbcplus.jdbcappender or log4j's dbappender. Your input including any pointers to tutorials and