Fix logger levels#72
Merged
Merged
Conversation
98f113f to
662ff85
Compare
2 tasks
MustafaJafar
approved these changes
Apr 24, 2026
Member
MustafaJafar
left a comment
There was a problem hiding this comment.
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'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog Description
Fix of ignoring the log levels in settings. Before this fix the
Resolver Log Levelwas ignored and it was always set toINFO.This pull request updates two submodules to newer commit versions. No other changes are included.
ext/ayon-cpp-apisubmodule to the latest commit (6dfba1ff67bae51c846a4ea339b180bce4cbd347).ext/ayon-cpp-dev-toolssubmodule 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-keysand needs to be tested with the new env keys PR inayon-usd.