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

logger conversionPattern restriction doesn't work correctly for Generic classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2.10
    • None
    • None
    • Windows 2000 Professional, .NET Framework 2.0

    Description

      <conversionPattern value="%date %-5level %logger

      {1}

      - %message%newline"/>

      Using the above conversion pattern for a logger of a Generic class (i.e. My.System.MyClass<My.System.MyObject>) will result in the following log output:

      2008-01-17 21:54:48,968 INFO 0, Culture=neutral, PublicKeyToken=null]] - My error message

      Obviously, in this case it's not appropriate to just take the portion of the class name after the last '.' character.

      Thanks

      Attachments

        Issue Links

          Activity

            People

              ron liu ron
              tomcrossland Tom Crossland
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: