logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bolikdimon <bolikdi...@mail.ru>
Subject AdoNetAppender problem.
Date Mon, 08 Jan 2007 13:02:36 GMT

Hello. Help me please.
I'm using AdoNetAppender. How can I pass NULL value into stored procedure ? 
Here is my code:
             ...
            ThreadContext.Properties["ProcessID"] = DbNull.Value;
            log.Debug(message);

Config-file:
      <parameter>
        <parameterName value="@ProcessID" />
        <dbType value="Int64" />
        <layout type="log4net.Layout.PatternLayout" value="%X{ProcessID}" />
      </parameter>

What's wrong ?

-- 
View this message in context: http://www.nabble.com/AdoNetAppender-problem.-tf2939176.html#a8217407
Sent from the Log4net - Users mailing list archive at Nabble.com.


Mime
View raw message