Hi,
I think you have not put the select statement in the file.
put the sentence like this in the *.lcf file.
log4j.appender.A2.layout.ConversionPattern=INSERT INTO CSEAUDITINFO (THREAD,
MESSAGE) VALUES ('%t', '%m')
You are getting error as main because. The logger outputs the first message as
'MAIN' thread. So the SQL is not understanding the
select query.
rgrds
Pradeep
Please respond to "Log4J Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Pradeep NB Kumar/India/KINDLE)
Subject: jdbc appender problem
Hi,
Has anyone used the JDBCAppender add on that is there
on the site?
I am trying to use that since we r not using 1.2.
This is the exception i am getting.Can someone help
...
In get connection of MyConnectionHandler1
created a connection
Exception in thread "main" java.lang.NoSuchFieldError:
category
at
com.klopotek.utils.log.JDBCAppender.flush_buffer(JDBCAppender.java:829)
at
com.klopotek.utils.log.JDBCAppender.append(JDBCAppender.java:805)
at
org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
at
org.apache.log4j.Category.callAppenders(Category.java:199)
at
org.apache.log4j.Category.forcedLog(Category.java:392)
at
org.apache.log4j.Category.debug(Category.java:253)
at
COM.gm.util.logger.MyLogger.main(MyLogger.java:57)
Can someone help ....
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.Kindlesystems.com
**********************************************************************
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>