Skip to content

unraid-api --log-level not changing #1614

@ionred

Description

@ionred

Environment

Unraid OS Version:
7.1.4
Unraid Connect version 2025.08.20.2129 / 4.15.1

Are you using a reverse proxy?
No. Directly accessing my server via DNS resolution to the local IP of the unraid server.

Pre-submission Checklist

  • I have verified that my Unraid OS is up to date
  • I have tested this issue by accessing my server directly (not through a reverse proxy)
  • This is not an Unraid Connect related issue (if it is, please submit via the support form instead)

Issue Description

Logging level not respecting arguments

Steps to Reproduce

  1. In troubleshooting an OIDC issue, I attempted to turn on logging. (Related documentation issue: the OIDC page incorrectly gives the debug command like this: LOG_LEVEL=debug unraid-api start --debug all on one line. Those are two separate commands that need to be on separate lines OR need to be separated by a semicolon.... plus unraid-api start --debug is not a valid command by itself.)
  2. Attempted a second try at turning on logging via the CLI reference which correctly gives a valid command: unraid-api start --log-level debug . This command is accepted with no errors.
  3. Attempts to use the unraid-api that result in errors (such as oidc connection attempts) do not produce any entries in the unraid-api logs command or /var/logs/graphql-api.log file, nor anythig in the /var/log/unraid-api folder.

Also tried

  1. Setting LOG_LEVEL=debug directly before starting the api.
  2. Settings these (found in an old development.md file in the repo
LOG_LEVEL=trace
LOG_CONTEXT=true
LOG_TRANSPORT=file
  1. Manually stopping the api first, then restarting ith the the --log-level debug command.

Expected Behavior

Debug or trace log entries

Actual Behavior

They did not appear.

If I can help by providing specific (redacted) logs I can, but I assume given their lack of information, they won't be of much help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions