question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QUERY] Is there a way I can disable logs from the AuthenticationAuthority class

See original GitHub issue

Query/Question I am consuming the Azure SDK for a project I am working on. However, I have set the LogLevel in the Azure controller to NONE.

Azure.configure().withLogLevel(LogLevel.NONE).authenticate(credentials);

But still get a bunch of a logs from the class c.m.a.adal4j.AuthenticationAuthority

2020-02-26 15:41:46,991 [pool-1-thread-37] INFO  c.m.a.adal4j.AuthenticationAuthority - [Correlation ID: 72e7c78f-67b6-4a95-b164-9f366cc5db91] Instance discovery was successful

I want to know how can I block these logs.

Why is this not a Bug or a feature Request?

  • Because I am not sure if there is some way in Azure already that enables me to do this and its just that I am unaware of it.

Setup (please complete the following information if applicable):

  • OS: MacOS
  • IDE : IntelliJ
  • 1.31.0

Information Checklist

  • [ ✅ ] Query Added
  • [ ✅ ] Setup information Added

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
FireDrunkcommented, Mar 10, 2021

My solution for this issue was: logging.level.com.microsoft.aad.adal4j.AuthenticationAuthority=WARN in application.properties

0reactions
msftbot[bot]commented, Jul 20, 2021

Hi @Shabirmean, since you haven’t asked that we “/unresolve” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve” to reopen the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - How to disable loggers of a class or of whole package?
In Log4j you can specify a logging level for specified package, class or logger identified by string. You just simply write this in...
Read more >
View logs by using the Logs Explorer - Google Cloud
If a query isn't provided, Logging shows each log as it's ingested. To stop streaming, click Stop streaming, or scroll within the Query...
Read more >
Adabas Security Features - Software AG Documentation
Important: Database security cannot be disabled once it has been activated. ... Enable or disable Audit Trail logging for authentication and authorization.
Read more >
Logging - Operations Manual - Neo4j
Log parameters for the executed queries being logged. You can disable this configuration setting if you do not want to display sensitive information....
Read more >
Visual Policy Manager Reference - TechDocs - Broadcom Inc.
https://www.symantec.com/docs/. DOC11475. Commands available in the ProxySG appliance CLI and how to use them to perform configuration and management tasks.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found