Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-67

NTEventLogAppender always uses RPC method for logging and has inadequate error handling.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.7, 0.10.0
    • 0.10.0
    • Appender
    • None
    • Windows NT

    Description

      ::RegisterEventSource uses the RPC method for logging events to an event log if a server name is passed in, even if localhost. In order to use the local API, you must pass NULL into the method for the server name.

      Also, NTEventLogAppender logs no useful messages if an error occured somewhere in the Windows API.

      Attachments

        1. log4cxx_0_9_7.nteventappender.patch
          2 kB
          Daniel Einspanjer

        Activity

          People

            carnold@apache.org Curt Arnold
            deinspanjer Daniel Einspanjer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: