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

AdoNetAppender with Npgsql data provider

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.15
    • None
    • Appenders
    • None

    Description

      I'm trying to use AdoNetAppender with postgresql database and Npgsql data provider 3.0.x. Unfortunately it throws an exception in SendBuffer method while executing dbCmd.Prepare(). I believe the reason for that is that Npgsql requires all Parameters to be present in a command before calling Prepare method. I created my own adapter that overrides SendBuffer method and populates sql command parameters before Prepare and it worked fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vadimi Vadim Ivanou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: