Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1586

Small Doc suggestion: <logger>, the function behind the Name Property

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • It's just a small documentation suggestion.

    Description

      Good evening

      I guess you great Doc has for almost every item in logback.xml a table which explains all properties (Property Name, Type and Description), e.g. here: FileAppender

      Unfortunately, the properties for <logger> are missing, I guess (I have checked each  page in the docs).

      And while I'm not sure, I suspect that a <logger> Name is not just some free text but it affects the logger behaviour. For example, I never get a log entry in this logger:

      <logger name="MyRollingFileLogger" level="TRACE">
      <appender-ref ref="RollingFile" />
      </logger>

       

      If my guess is right that a logger's name affects the logging behavior,
      then it would be great if you could write a note about it, for example here: Configuring loggers, or the <logger> Element

       

      Thanks a lot, kind regards,
      Thomas

      Attachments

        Activity

          People

            logback-dev Logback dev list
            Jehoschua Jehoschua
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: