I figured out the cause of my problem.
My application uses the NCR Teradata JDBC driver.
terajdbc4.jar - version 3.0.0.1
http://www.teradata.com/
By default, this driver will shut off Log4j's root logger.
I don't know why NCR decided to implement the driver in this
manner.
I found a PDF on
Hey guys,
I am not sure if anyone using MS SQL server :) but
I get an SQL error when there is a ' (single quote)
symbol in the log message, I cant format it in my code
because the message comes from Tomcat.
Error looks like:
log4j:ERROR Failed to excute sql
java.sql.SQLException: [Microsoft][SQ
Hello Jim,
Log4j version 1.2.8 is compatible JDK 1.1 and later.
At 12:35 PM 8/21/2003 -0500, Jim Garrison wrote:
I want to use log4j in a java stored procedure on Oracle 8.1.7.
The java environment provided by Oracle in this release is at
the 1.2 level. Will log4j work in this environment, or do
Is there a way to use JNDI Datasource instead for JDBC
logging?
Thanks,
Fedor
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-
To un
It would be nice if NCR's Teradata JDBC driver
complied with Ceki's advice:
{{
http://www.geocrawler.com/archives/3/8359/2002/7/50/9157442/
DATE: 07/27/2002 00:56:18
SUBJECT: RE: Eleminate multiple intialization
The following text, intended for library developers that use log4j, is
from the
Can somebody explain the purpose of the resetConfiguration method?
The javadocs don't provide any information.
-Sean
class: org.apache.log4j.LogManager
method: public static void resetConfiguration()
http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/LogManager.html
-Sean
--
Hello Jim,
Log4j version 1.2.8 is compatible JDK 1.1 and later.
At 12:35 PM 8/21/2003 -0500, Jim Garrison wrote:
I want to use log4j in a java stored procedure on Oracle 8.1.7.
The java environment provided by Oracle in this release is at
the 1.2 level. Will log4j work in this environment, or do
This is my workaround.
I call this method after the Teradata JDBC driver is loaded.
static void resetLoggingConfiguration()
{
try
{
LogManager.resetConfiguration();
String strConfig = System.getProperty("log4j.configuration");
URL configFile = new java.net.URL(strConfig);
DOMConfigurator.co
Howdy,
Log4j will work...
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Jim Garrison [mailto:[EMAIL PROTECTED]
>Sent: Thursday, August 21, 2003 1:36 PM
>To: [EMAIL PROTECTED]
>Subject: log4j dependencies on Java 1.3/1.4?
>
>I want to use log4j in a java stored proce
I want to use log4j in a java stored procedure on Oracle 8.1.7.
The java environment provided by Oracle in this release is at
the 1.2 level. Will log4j work in this environment, or does
it depend on features introduced in 1.3 or 1.4?
Thanks
Jim Garrison
[EMAIL PROTECTED]
--
The method is documented in
org/apache/log4j/log4j/Hierarchy.java
/**
Reset all values contained in this hierarchy instance to their
default. This removes all appenders from all categories, sets
the level of all non-root categories to null,
sets their additivity fl
Search for information on the "JDBCAppender" from Google.
Javadoc is found
http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/jdbc/JDBCAppender.
html.
An example of configuring a JDBC Appender in a properties file is found
http://www.onjava.com/pub/a/onjava/2002/08/07/log4j.html?page=3
12 matches
Mail list logo