Skip to content

Excessive logging from Amazon Q Token Service Manager causing performance issues #6111

@PerpetualChange

Description

@PerpetualChange

Operating system
macOS 15.6.1 (24G90)

Expected behaviour
The logging should be eliminated or reduced to occur less frequently (e.g., once per session or with exponential backoff) since the IDE already prompts users to log in when Q features are accessed. The current frequent logging is redundant and wasteful.

Actual behaviour
The AmazonQ plugin v3.98.251 on IntelliJ IDEA 2025.1.4.1 logs the message "Amazon Q Token Service Manager: No active SSO connection is detected: no credentials provided. Resetting the client" multiple times per second in idea.log when not logged in. This excessive logging interferes with IDE performance and uses unnecessary storage and cpu.

Steps to reproduce
Install AmazonQ plugin v3.98.251 on IntelliJ IDEA 2025.1.4.1
Do not log in to Amazon Q
Monitor the idea.log file
Observe the repeated logging message occurring multiple times per second
Environment

[q-details]
version = "1.19.6"
hash = "5b649e6f65a0035ad9ee2dbad6c6b7fdb3ddf0c6"
date = "2025-11-13T18:10:11.451022Z (4d ago)"

[system-info]
os = "macOS 15.6.1 (24G90)"
chip = "Apple M2 Max"
total-cores = 12
memory = "32.00 GB"

[environment]
cwd = "/Users/USER/Projects/samsara-service"
cli-path = "/Users/USER/Projects/samsara-service"
install-method = "brew"

[env-vars]
PATH = "/Users/USER/.rd/bin:/opt/homebrew/opt/postgresql@14/bin:/opt/homebrew/opt/openjdk@11/bin:/Users/USER/.sdkman/candidates/java/current/bin:/Users/USER/.sdkman/candidates/groovy/current/bin:/Users/USER/.sdkman/candidates/gradle/current/bin:/Users/USER/.nvm/versions/node/v20.15.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/local/sbin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/mqm/bin:/opt/mqm/samp/bin:/opt/mqm/lib64:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/USER/.local/bin:/Users/USER/Utils/apache-maven-3.6.3/bin:/usr/local/sbin:/Users/USER/Utils/openshift-origin-client-tools-v3.11.0-0cbc58b-mac"
QTERM_SESSION_ID = "ce305b07732d4ab4bd173359ba72c781"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.19.6"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.jetbrains.intellij"

[chat-settings]

[chat-trusted_tools]

[chat-failed_request_ids]
none

[chat-context]
current_profile=q_cli_default
profile_context=
AmazonQ.md
AGENTS.md
README.md
.amazonq/rules/**/*.md

files=
/Users/trmb3/Projects/samsara-service/README.md, 150 tkns
total context size=150 tkns

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWe can reproduce the issue and confirmed it is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions