logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Grabowski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LOG4NET-55) Allow default null text,"(null)", and default not available text, "NOT AVAILABLE", to be configurable.
Date Sun, 06 Nov 2005 20:37:20 GMT
     [ http://issues.apache.org/jira/browse/LOG4NET-55?page=all ]

Ron Grabowski updated LOG4NET-55:
---------------------------------

    Attachment: ConfigurableNullTextAndNotAvailableText2.patch

Per Nikco's suggestion:

http://www.mail-archive.com/log4net-dev%40logging.apache.org/msg01133.html
http://www.mail-archive.com/log4net-dev%40logging.apache.org/msg01132.html 

Enables setting of values from AppSettings and code.

> Allow default null text,"(null)", and default not available text, "NOT AVAILABLE", to
be configurable.
> ------------------------------------------------------------------------------------------------------
>
>          Key: LOG4NET-55
>          URL: http://issues.apache.org/jira/browse/LOG4NET-55
>      Project: Log4net
>         Type: Improvement
>     Reporter: Ron Grabowski
>     Priority: Trivial
>  Attachments: ConfigurableNullTextAndNotAvailableText.patch, ConfigurableNullTextAndNotAvailableText2.patch
>
> "(null)" and "NOT AVAILABLE" are not settable by the user. Allow them to be settable
via AppSettings keys:
>  <add key="log4net.NullText" value="NULL-TEXT" />
>  <add key="log4net.NotAvailableText" value="NOT-AVAILABLE-TEXT" />
> or attributes on the log4net node:
>  <log4net nullText="NULL-TEXT" notAvailableText="NOT-AVAILABLE-TEXT">
>  ...
>  </log4net>
> or in code:
>  log4net.Util.SystemInfo.NullText = "NULL-TEXT";
>  log4net.Util.SystemInfo.NotAvailableText = "NOT-AVAILABLE-TEXT";

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message