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.

Excessive logging with userids_enabled: false

See original GitHub issue

We are running CF with UAA’s userids_enabled: false:

properties:
  uaa:
    scim:
      userids_enabled: false

With a log level of WARN, we find that the uaa.log is getting filled pretty fast with the following messages:

[2017-07-18 03:15:03.103] uaa - 22465 [http-nio-8443-exec-62] ....  WARN --- UserIdConversionEndpoints: Request from user cloud_controller_username_lookup received at disabled Id translation endpoint with filter:id …
[2017-07-18 03:15:03.104] uaa - 22465 [http-nio-8443-exec-62] .... ERROR --- ScimUserEndpoints: Unhandled exception in SCIM user endpoints.
org.cloudfoundry.identity.uaa.scim.exception.ScimException: Illegal operation.
        at org.cloudfoundry.identity.uaa.scim.endpoints.UserIdConversionEndpoints.findUsers(UserIdConversionEndpoints.java:101)
...

It appears that this comes from UserIdConversionEndpoints.java.

As userids_enabled seems to be a valid flag, we wonder if it is possible to cut down the noise a bit; especially the exception stack.

Thanks!

Steffen and Bernhard

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
fhanikcommented, Jul 25, 2017

I agree that this is an issue. Expected errors should not be logged under ERROR or WARN

0reactions
shamuscommented, May 28, 2020

Thanks for the PR. Merged!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Logging on a user account fails - Windows Server
This article solves an issue where logging on a user account that's a member of more than 1,010 groups fails. Applies to: Windows...
Read more >
User ID in Google Analytics Explained with Examples
Google Analytics User ID is a unique set of alphanumeric characters assigned to a user so that they can be identified across devices/ ......
Read more >
Enable User-ID - Palo Alto Networks
User -ID enables you to leverage user information stored in a wide range of repositories for visibility, user- and group-based policy control, ...
Read more >
3 Configuring WebLogic Logging Services - Oracle Help Center
This section explains how to use WLST to configure and enable Log4j logging instead of the default Java Logging. Java Logging is the...
Read more >
How to find the source of failed login attempts - ManageEngine
Look for event ID 4625 which is triggered when a failed logon is registered. Open Event Viewer in Active Directory and navigate to...
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