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

Make Hierarchy's ILoggerFactory aware of the repository's LevelMap

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.2.11
    • None
    • None

    Description

      Instead of creating the RootLogger with Level.Debug:

      return new RootLogger(Level.Debug);

      shouldn't the DefaultLoggerFactory use:

      return new RootLogger(repository.LevelMap.LookupWithDefault(Level.Debug));

      in case the user has remapped Debug to another value.

      Attachments

        Activity

          People

            nicko Nicko Cadell
            ron liu ron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: