You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by ysuneelreddy <sr...@smarteinc.com> on 2006/07/27 15:34:50 UTC

In logging_event table "?" this symbol is inserting.

Hi 

 

We r using "com.mysql.jdbc.Driver" driver

I wrote log4j.xml like ...

 

<log4j:configuration  xmlns:log4j="http://jakarta.apache.org/log4j/">

   <appender name="DBAppender"  class="org.apache.log4j.db.DBAppender">

      <connectionSource
class="org.apache.log4j.db.DriverManagerConnectionSource">

        <param name="password" value="smarte911"/>

        <param name="user" value="smarte2"/>

        <param name="driverClass" value="com.mysql.jdbc.Driver"/>

        <param name="url" value="jdbc:mysql://192.168.1.225:3306/smartedb"/>

      </connectionSource>

    </appender>

</log4j:configuration>

 

It did not show errors but.

It is not inserting the in data base.

What is the problem..

 

In logging_event table line, method, file, class.in these fileds "?" this
mark is inserting.

In logging_event_priority table nothing inserted (Zero).

Plz tell me the solution.

 

How I know this supports supports the   java.sql.Statement, getGeneratedKeys
method

What is the "dialect?" 

For that what can I do.?

 

 

Thanks & Rgds,

 

Yaramaka SuneelReddy.

Software Engineer,

Smarte Solutions,

ph : + 91 9833022044

 

 


Re: In logging_event table "?" this symbol is inserting.

Posted by Javier Gonzalez <ja...@gmail.com>.
On 7/27/06, ysuneelreddy <sr...@smarteinc.com> wrote:
> For that what can I do...?
> What abt that dialect...
> Plz help me...

Please go read some documentation, search the mailing list archives,
and stop begging us to do your work. You have bombarded the list with
requests for code and config files, and that really turns off people
who are usually willing to help.

-- 
Javier González Nicolini

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


RE: In logging_event table "?" this symbol is inserting.

Posted by ysuneelreddy <sr...@smarteinc.com>.
For that what can I do...?
What abt that dialect...
Plz help me...

-----Original Message-----
From: James Stauffer [mailto:stauffer.james@gmail.com] 
Sent: Thursday, July 27, 2006 7:56 PM
To: Log4J Users List
Subject: Re: In logging_event table "?" this symbol is inserting.

If your code isn't conpiled with debug info then line and file won't
be available.

On 7/27/06, ysuneelreddy <sr...@smarteinc.com> wrote:
> Hi
>
>
>
> We r using "com.mysql.jdbc.Driver" driver
>
> I wrote log4j.xml like ...
>
>
>
> <log4j:configuration  xmlns:log4j="http://jakarta.apache.org/log4j/">
>
>    <appender name="DBAppender"  class="org.apache.log4j.db.DBAppender">
>
>       <connectionSource
> class="org.apache.log4j.db.DriverManagerConnectionSource">
>
>         <param name="password" value="smarte911"/>
>
>         <param name="user" value="smarte2"/>
>
>         <param name="driverClass" value="com.mysql.jdbc.Driver"/>
>
>         <param name="url"
value="jdbc:mysql://192.168.1.225:3306/smartedb"/>
>
>       </connectionSource>
>
>     </appender>
>
> </log4j:configuration>
>
>
>
> It did not show errors but.
>
> It is not inserting the in data base.
>
> What is the problem..
>
>
>
> In logging_event table line, method, file, class.in these fileds "?" this
> mark is inserting.
>
> In logging_event_priority table nothing inserted (Zero).
>
> Plz tell me the solution.
>
>
>
> How I know this supports supports the   java.sql.Statement,
getGeneratedKeys
> method
>
> What is the "dialect?"
>
> For that what can I do.?
>
>
>
>
>
> Thanks & Rgds,
>
>
>
> Yaramaka SuneelReddy.
>
> Software Engineer,
>
> Smarte Solutions,
>
> ph : + 91 9833022044
>
>
>
>
>
>
>


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: In logging_event table "?" this symbol is inserting.

Posted by James Stauffer <st...@gmail.com>.
If your code isn't conpiled with debug info then line and file won't
be available.

On 7/27/06, ysuneelreddy <sr...@smarteinc.com> wrote:
> Hi
>
>
>
> We r using "com.mysql.jdbc.Driver" driver
>
> I wrote log4j.xml like ...
>
>
>
> <log4j:configuration  xmlns:log4j="http://jakarta.apache.org/log4j/">
>
>    <appender name="DBAppender"  class="org.apache.log4j.db.DBAppender">
>
>       <connectionSource
> class="org.apache.log4j.db.DriverManagerConnectionSource">
>
>         <param name="password" value="smarte911"/>
>
>         <param name="user" value="smarte2"/>
>
>         <param name="driverClass" value="com.mysql.jdbc.Driver"/>
>
>         <param name="url" value="jdbc:mysql://192.168.1.225:3306/smartedb"/>
>
>       </connectionSource>
>
>     </appender>
>
> </log4j:configuration>
>
>
>
> It did not show errors but.
>
> It is not inserting the in data base.
>
> What is the problem..
>
>
>
> In logging_event table line, method, file, class.in these fileds "?" this
> mark is inserting.
>
> In logging_event_priority table nothing inserted (Zero).
>
> Plz tell me the solution.
>
>
>
> How I know this supports supports the   java.sql.Statement, getGeneratedKeys
> method
>
> What is the "dialect?"
>
> For that what can I do.?
>
>
>
>
>
> Thanks & Rgds,
>
>
>
> Yaramaka SuneelReddy.
>
> Software Engineer,
>
> Smarte Solutions,
>
> ph : + 91 9833022044
>
>
>
>
>
>
>


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org