logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tinhuty he" <tinh...@hotmail.com>
Subject Re: NDC and MDC fields logged as (null)
Date Fri, 16 Jun 2006 14:43:38 GMT
NULL would be ok. But right now it is not.

I am inserting log to MS SQL database, the value is a string "(null)", 
ideally it should be NULL value for database.

= = = Original message = = =

What should the value of the empty NDC be? null seems like an ok
canidate doesn't it?

--- Ken Chu <ken_c_chu@yahoo.com> wrote:

>I was wondering why the value is null at all.? Shouldn't the NDC have
>a value?
>
>-Ken
>
>--- Ron Grabowski <rongrabowski@yahoo.com> wrote:
>
> > The default string value for null items is "(null)". The default
>string
> > value for items that are not available is "NOT AVAILABLE". These
>can be
> > changed by setting the log4net.NullText and
>log4net.NotAvailableText
> > appSettings keys.
> > > --- Ken Chu <ken_c_chu@yahoo.com> wrote:
> > > > I'm seeing the same problem with the same version running on .Net
> > > 2.0.? Anyone
> > > else seeing this problem?? Is this a known bug?
> > > > > -Ken
> > > > > --- tinhuty he <tinhuty@hotmail.com> wrote:
> > > > > > I am using the 1.2.10. The NDC and MDC fields are logged in
>file as
> > > (null) > > > if they are no value. Are they supposed to just log empty
>string if
> > > there > > > are no values?
> > > > > > > Thanks.
> > > > > > > ___________________________________________________________
> > > > Sent by ePrompter, the premier email notification software.
> > > > Free download at http://www.ePrompter.com.
> > > > > > >
>_________________________________________________________________
> > > > Express yourself instantly with MSN Messenger! Download today -
> > > it's FREE! > > > 
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > > > > > > > > > > > >
>
>

___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

_________________________________________________________________
Donít just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


Mime
View raw message