Logback% logger {56}, what does 56 stand for?

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <property name="LOG_HOME" value="e:/log"/>  
  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <!-- encoders are assigned the type
         ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
    <encoder>
      <pattern>%-5level %d{YYYY-MM-DD HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>
  
  <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> 
      <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> 
        <fileNamePattern>LOG_HOME/logFile.%d{yyyy-MM-dd}.%i.log</fileNamePattern> 
     <maxHistory>30</maxHistory> 
      <timeBasedFileNamingAndTriggeringPolicy
                class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
          <!-- or whenever the file size reaches 64 MB -->
          <maxFileSize>4 KB</maxFileSize>
      </timeBasedFileNamingAndTriggeringPolicy>
    </rollingPolicy> 
 <encoder> 
     <pattern>%-5level %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %logger{56} - %msg%n</pattern>
      <charset>UTF-8</charset>  
 </encoder> 
 </appender> 

  <root level="debug">
    <appender-ref ref="FILE" />
  </root>
</configuration>
Feb.26,2021

that logger is the full name of class, followed by a number that represents the longest restricted character:

https://logback.qos.ch/manual.

in addition, if there is grooovy in the project dependency, it is recommended to use logback.groovy configuration, which is much more concise than xml

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8d43a-1141.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8d43a-1141.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?