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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.11
    • Component/s: None
    • Labels:
      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

            • Assignee:
              nicko Nicko Cadell
              Reporter:
              ron Ron Grabowski
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: