Skip to content

Commit

Permalink
Merge pull request #194 from MicrosoftDocs/main
Browse files Browse the repository at this point in the history
Sync changes to prod
  • Loading branch information
Dickson-Mwendia committed Jul 16, 2024
2 parents 9b9ab89 + eb8dd00 commit 5083bcc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 39 deletions.
9 changes: 9 additions & 0 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"redirections": [
{
"source_path_from_root": "/msal-java-articles/advanced/national-clouds.md",
"redirect_url": "/entra/identity-platform/authentication-national-cloud",
"redirect_document_id": false
}
]
}
2 changes: 0 additions & 2 deletions msal-java-articles/TOC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@
href: advanced/msal-error-handling-java.md
- name: ADFS Support
href: advanced/support-for-adfs.md
- name: National Clouds
href: advanced/national-clouds.md
- name: Telemetry
href: advanced/telemetry.md
- name: Configuring Http Client
Expand Down
4 changes: 1 addition & 3 deletions msal-java-articles/advanced/msal-logging-java.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ The following sections provide more details about MSAL error logging for your ap

## MSAL for Java logging

MSAL for Java allows you to use the logging library that you're already using with your app, as long as it's compatible with [Simple Logging Facade for Java (SLF4J)](https://www.slf4j.org/). MSAL for Java uses the SLF4J as a simple abstraction for various logging frameworks, such as [java.util.logging](https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html), [Logback](https://logback.qos.ch/) and [Log4j](https://logging.apache.org/log4j/2.x/). SLF4J allows the user to plug in the desired logging framework at deployment time and automatically binds to Logback at deployment time. MSAL logs will be written to the console.

This article shows how to enable MSAL4J logging using the logback framework in a Spring Boot web application. You can refer to the [code sample](https://github.com/Azure-Samples/ms-identity-java-webapp/tree/master/msal-java-webapp-sample) for reference.
MSAL for Java allows you to use the logging library that you're already using with your app, as long as it's compatible with [Simple Logging Facade for Java (SLF4J)](https://www.slf4j.org/). MSAL for Java uses the SLF4J as a simple abstraction for various logging frameworks, such as [java.util.logging](https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html), [Logback](https://logback.qos.ch/) and [Log4j](https://logging.apache.org/log4j/2.x/). SLF4J allows the user to plug in the desired logging framework at deployment time and automatically binds to Logback at deployment time. MSAL logs will be written to the console. This article shows how to enable MSAL4J logging using the logback framework in a Spring Boot web application.

1. To implement logging, include the `logback` package in `pom.xml`.

Expand Down
34 changes: 0 additions & 34 deletions msal-java-articles/advanced/national-clouds.md

This file was deleted.

0 comments on commit 5083bcc

Please sign in to comment.