Hi,
I am using RollingfileAppender for logging data into file in
log4j.properties file.
I want to add current system date with file name.
I have tried adding using System.currentTimeMillis(). but it's not working.
log4j.appender.searchLogger.file=Search_${System.currentTimeMillis()}.log
There i
Hi,
I am using log4j.properties file to log data into database. I am setting
multiple values in a JAVA file using different Logger.info(“value”).
In log4j.properties file, when I am using %m to insert values in database,
it’s inserting all values in a single column.
I want to put values from
Hi,
Could any one tell me how to create multiple Logger instance in a single
class?
Is this possible?
If it is possible then what will be the value for "?". Logger myLogger =
Logger.getLogger("?"); in class file.
and for referring the same Logger instance in log4j.properties file, how we
will b
Hi,
I am using log4j.properties file to log data into database. I am setting
multiple values in a JAVA file using Logger.info(“value”).
In log4j.properties file, when I am using %m to insert values in database,
it’s inserting all values in a single column.
Is there any way to split values in
Hi,
Thanks all for your response.
Now it's working fine after placing all jar files to Java\jdk1.5.0_15\lib.
Regards,
Manish
--
View this message in context:
http://www.nabble.com/Error-while-loading-OracleDriver-tp20577699p20616386.html
Sent from the Log4j - Users mailing list archive at Na
Hi,
Thanks for your reply.
I have placed ojdbc14.jar and classes12.jar file in class path. But still i
am getting the same error.
Please solve this problem.
Regards,
Manish
--
View this message in context:
http://www.nabble.com/Error-while-loading-OracleDriver-tp20577699p20595343.html
Sent
Hi,
I am sending message to JMS queue using java application. From there i am
using log4j.properties file for logging message to File and Database. I have
added ojdbc.jar and JDBCAppender.jar file in dependency.
I am able to log in to file, but for DataBase i am getting following error:-
log4j:E
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.
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
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
Hi,
I need help to configure log4j.properties file and java class (which use
Logger) for JDBCAppender.
Please send the both file or give me some helpful URL .
Thanks.
Regards,
Manish
--
View this message in context:
http://www.nabble.com/help-need-in-JDBCAppender-tp20456200p20456200.html
Sent
11 matches
Mail list logo