Getting wacky results when using an ado.net appender.

John Wilson <[email protected]> Thu, 10 Jun 2004 22:30:59 +0000 (UTC)
Newsgroups gmane.comp.windows.dotnet.log4net.user
Message-ID <[email protected]>
I'm trying to set up an ado.net appender with a MSSQL 7.0 database.  I'm
following the instructions in the documentation exactly, and I'm getting
strange results.

Here's an example row from my Log table:

Id

    1

Date:

    2004-03-15 09:06:55.997

Thread:

    1796hread

Level:

    log4net_test.WebForm1.Page_Load(c:\inetpub\wwwroot

Logger:

    log4net_test.WebForm1.Page_Load(c:\inetpub\wwwroot\log4net_test\webform1.aspx.cs:40)ogger

Message:

    Caught a wascawwy exception!essage

Exception:

    (only the first 256 characters of the exception message.)


I'd be tempted to think that I'm doing something wrong, but that "hread",
"ogger" and "essage" stuff is freaking me out, plus I'm thinking that the
logger and level columns should have some useful information in them.

So what's the verdict?  Are the docs screwy, or am I?  I'm using
1.2.0-beta8, if that helps.

Thank you kindly.

John Wilson




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504