You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2022/02/16 15:02:45 UTC

[GitHub] [logging-log4j2] carterkozak commented on a change in pull request #756: [LOG4J2-3404] Creates default layouts using the available Configuration

carterkozak commented on a change in pull request #756:
URL: https://github.com/apache/logging-log4j2/pull/756#discussion_r808076590



##########
File path: log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AbstractManager.java
##########
@@ -204,6 +204,13 @@ protected static StatusLogger logger() {
         return StatusLogger.getLogger();
     }
 
+    /**
+     * For testing purposes.
+     */
+    protected static int getManagerCount() {

Review comment:
       `protected static` is the same as `static` since static methods cannot be extended.
   ```suggestion
       static int getManagerCount() {
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org