Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-78

Enhance AdoNetAppender to use ADO.NET 2.0 connectionStrings configuration element

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.2.9
    • Fix Version/s: None
    • Component/s: Appenders
    • Labels:
      None
    • Environment:
      Windows XP

      Description

      .NET 2.0 has a <connectionStrings> element in the application configuration file.
      This makes it convenient to manage all connection strings in one place.

      It would be nice to enhance AdoNetAppender to be able to use a connection string defined in the <connectionStrings> element
      For example, add a new element <connectionStringRef> element to the <appender> configuration which references the name of a connection string defined in the <connectionStrings> element of the application configuration file. This could be used instead of the existing <connectionType> and <connectionString> elements.

      Advantage: connection strings are managed in one place and can take advantage of .NET 2.0 encrypted configuration.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joe JocularJoe
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: