Skip to content

Fix logger levels#72

Merged
tadeas-hejnic merged 3 commits into
developfrom
71-bug-resolver-is-ignoring-log-levels
Apr 30, 2026
Merged

Fix logger levels#72
tadeas-hejnic merged 3 commits into
developfrom
71-bug-resolver-is-ignoring-log-levels

Conversation

@tadeas-hejnic
Copy link
Copy Markdown
Contributor

@tadeas-hejnic tadeas-hejnic commented Apr 24, 2026

Changelog Description

Fix of ignoring the log levels in settings. Before this fix the Resolver Log Level was ignored and it was always set to INFO.

This pull request updates two submodules to newer commit versions. No other changes are included.

  • Updated submodules:
    • Updated the ext/ayon-cpp-api submodule to the latest commit (6dfba1ff67bae51c846a4ea339b180bce4cbd347).
    • Updated the ext/ayon-cpp-dev-tools submodule to the latest commit (8bd8e5eeae6631f66785a18720907f6044b84dfb).

The important fix was made in this PR in ayon-cpp-api.

Testing notes:

Builds with these changes are available here: lakefs://ayon-usd/new-env-keys and needs to be tested with the new env keys PR in ayon-usd.

  1. test resolver with different log levels
  2. check the logs if the log level is matching the settings

@tadeas-hejnic tadeas-hejnic force-pushed the 71-bug-resolver-is-ignoring-log-levels branch from 98f113f to 662ff85 Compare April 24, 2026 09:00
@tadeas-hejnic tadeas-hejnic self-assigned this Apr 24, 2026
@tadeas-hejnic tadeas-hejnic added the type: bug Something isn't working label Apr 24, 2026
@tadeas-hejnic tadeas-hejnic linked an issue Apr 24, 2026 that may be closed by this pull request
2 tasks
Copy link
Copy Markdown
Member

@MustafaJafar MustafaJafar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it works.

here are samples from my test run

[AyonLogger] Log level set from environment variable 'AYON_USD_RESOLVER_LOG_LVL' with value 'INFO'
[2026-04-24 23:53:09.287] [info] Init AyonServer httplib::Client
[2026-04-24 23:53:09.288] [info] After creating httplib::Client - http://192.168.1.12:5000
[AyonLogger] Log level set from environment variable 'AYON_USD_RESOLVER_LOG_LVL' with value 'ERROR'
[AyonLogger] Log level set from environment variable 'AYON_USD_RESOLVER_LOG_LVL' with value 'WARN'
[AyonLogger] Log level set from environment variable 'AYON_USD_RESOLVER_LOG_LVL' with value 'CRITICAL'
[AyonLogger] Log level set from environment variable 'AYON_USD_RESOLVER_LOG_LVL' with value 'OFF'

btw, what ever is selected, I see these by default at the beginning.

http://192.168.1.12:5000, Experiments, , OFF
before fileLoggerFilePath - 
file logging is OFF
before api init
[AyonApi] Retrieving AyonLogger Singleton...
[AyonLogger] Singleton Constructor Started.
[AyonLogger] Singleton Constructor Finished.
[AyonLogger] Log level set from environment variable 'AYON_USD_RESOLVER_LOG_LVL' with value 'OFF'

@tadeas-hejnic tadeas-hejnic merged commit dbc0c58 into develop Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Resolver is ignoring log levels

2 participants