problem with JDBC logging

2008-11-14 Thread manish_goyal
I have configured log4j.properties file for JDBC and File logging. I am able to log data in file and database. But in database, data is not in appropriate format. I am setting four parameters, all these parameter is going to only one column. i am setting like this in my java program:- mylogger.

Re: Can we add FileAppender and JDBCAppender together

2008-11-14 Thread manish_goyal
Thanks for your response Arnold. I have configured log4j.properties file for JDBC and File logging. I am able to log data in file and database. But in database, data is not in appropriate format. I am setting four parameters, all these parameter is going to only one column. i am setting like th

Re: SMTP Appender

2008-11-14 Thread Curt Arnold
On Nov 12, 2008, at 5:40 PM, Joe White wrote: I'm trying to use the SMTP Appender but my mail host requires authentication. What are the poper log4j.properties entry for username, password and the port? My host runs off of port 26, not 25. log4j.appender.YOURAPPENDERNAME.smtpUs

Re: Can we add FileAppender and JDBCAppender together

2008-11-14 Thread Curt Arnold
On Nov 14, 2008, at 3:23 AM, manish_goyal wrote: Hi, Please tell me can we add FileAppender and JDBCAppender together in a log4j.properties file. I don't know any reason you could not. I configured my log4j.properties file for both FileAppender and JDBCAppender, FileAppender is working

Can we add FileAppender and JDBCAppender together

2008-11-14 Thread manish_goyal
Hi, Please tell me can we add FileAppender and JDBCAppender together in a log4j.properties file. I configured my log4j.properties file for both FileAppender and JDBCAppender, FileAppender is working fine but JDBCAppender is not working. My log4j.properties file is :- log4j.rootCategory=JDBC log