Skip to content

Commit 6eff474

Browse files
committed
fix
1 parent a522316 commit 6eff474

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

smoke-tests/apps/JavaUtilLogging/src/main/java/com/microsoft/applicationinsights/smoketestapp/JavaUtilLoggingWithExceptionServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class JavaUtilLoggingWithExceptionServlet extends HttpServlet {
1818
protected void doGet(HttpServletRequest request, HttpServletResponse response) {
1919
String testNullMessage = request.getParameter("test-null-message");
2020
if ("true".equalsIgnoreCase(testNullMessage)) {
21-
logger.log(Level.SEVERE, "This is an exception with null message!", new Exception());
21+
logger.log(Level.SEVERE, "This is an exception!", new Exception());
2222
} else {
2323
logger.log(Level.SEVERE, "This is an exception!", new Exception("Fake Exception"));
2424
}

smoke-tests/apps/Log4j1/src/main/java/com/microsoft/applicationinsights/smoketestapp/Log4j1WithExceptionServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) {
3939
MDC.put("MDC key", "MDC value");
4040
String testNullMessage = request.getParameter("test-null-message");
4141
if ("true".equalsIgnoreCase(testNullMessage)) {
42-
logger.error("This is an exception with null message!", new Exception());
42+
logger.error("This is an exception!", new Exception());
4343
} else {
4444
logger.error("This is an exception!", new Exception("Fake Exception"));
4545
}

smoke-tests/apps/Log4j2/src/main/java/com/microsoft/applicationinsights/smoketestapp/Log4j2WithExceptionServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) {
2020
ThreadContext.put("MDC key", "MDC value");
2121
String testNullMessage = request.getParameter("test-null-message");
2222
if ("true".equalsIgnoreCase(testNullMessage)) {
23-
logger.error("This is an exception with null message!", new Exception());
23+
logger.error("This is an exception!", new Exception());
2424
} else {
2525
logger.error("This is an exception!", new Exception("Fake Exception"));
2626
}

smoke-tests/apps/Logback/src/main/java/com/microsoft/applicationinsights/smoketestapp/LogbackWithExceptionServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) {
2020
MDC.put("MDC key", "MDC value");
2121
String testNullMessage = request.getParameter("test-null-message");
2222
if ("true".equalsIgnoreCase(testNullMessage)) {
23-
logger.error("This is an exception with null message!", new Exception());
23+
logger.error("This is an exception!", new Exception());
2424
} else {
2525
logger.error("This is an exception!", new Exception("Fake Exception"));
2626
}

0 commit comments

Comments
 (0)