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

ApplicationName Underscore characters

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Information Provided
    • Affects Version/s: 2.0.8
    • Fix Version/s: 2.1.0
    • Component/s: Appenders
    • Labels:
      None
    • Environment:
      OS: Windows 8.1

      Description

      Hi,

      When using undersocre "_" characters in the property "ApplicationName" of theĀ EventLogAppender, it fails to insert the logs into the eventLog without warnings or anything. I searched the internet for any character restrictions and found nothing. Your documentation only says "The string used to distinguish events from different sources." without mentioning any limitations. This could be a bug (which I spent hours to find out) or windows eventLog limitation, either way it should be stated explicitly or resolved.

        Attachments

          Activity

            People

            • Assignee:
              nachbarslumpi Dominik Psenner
              Reporter:
              CME64 Mohamed Elsayed
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified