You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/08/16 00:37:01 UTC

[tomcat] branch main updated: Follow-up to #533

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 46d7162237 Follow-up to #533
46d7162237 is described below

commit 46d7162237352f97b98d44123d293529c34ed7bb
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Aug 16 01:36:54 2022 +0100

    Follow-up to #533
---
 test/org/apache/juli/TestClassLoaderLogManager.java | 10 +++-------
 webapps/docs/changelog.xml                          |  5 +++++
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/test/org/apache/juli/TestClassLoaderLogManager.java b/test/org/apache/juli/TestClassLoaderLogManager.java
index 524a4b86f4..8628deac16 100644
--- a/test/org/apache/juli/TestClassLoaderLogManager.java
+++ b/test/org/apache/juli/TestClassLoaderLogManager.java
@@ -16,10 +16,6 @@
  */
 package org.apache.juli;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
-
 import java.io.ByteArrayInputStream;
 import java.io.File;
 import java.io.IOException;
@@ -103,9 +99,9 @@ public class TestClassLoaderLogManager {
             final ClassLoaderLogManager logManager = new ClassLoaderLogManager();
             logManager.readConfiguration();
             final Logger rootLogger = logManager.getLogger("");
-            assertNotNull("root logger is null", rootLogger);
-            assertNull("root logger has a parent", rootLogger.getParent());
-            assertEquals(Level.INFO, rootLogger.getLevel());
+            Assert.assertNotNull("root logger is null", rootLogger);
+            Assert.assertNull("root logger has a parent", rootLogger.getParent());
+            Assert.assertEquals(Level.INFO, rootLogger.getLevel());
         } finally {
             Thread.currentThread().setContextClassLoader(oldCL);
         }
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 84e11ec9b2..baebf6c075 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -128,6 +128,11 @@
         MemoryUserDatabase.save(). Deprecate and discontinue use of MemoryUser,
         MemoryRole, and MemoryGroup classes. (schultz)
       </fix>
+      <fix>
+        <bug>66184</bug>: Ensure that JULI root loggers have a default level of
+        <code>INFO</code>. Pull request <pr>533</pr> provided by Piotr P.
+        Karwasz. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org