Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LRS_LOG_LEVEL fix; enable log optimizations #12978

Merged
merged 3 commits into from
May 29, 2024

Conversation

maloel
Copy link
Collaborator

@maloel maloel commented May 29, 2024

LRS_LOG_LEVEL wasn't creating log files because of a bug (since #11186, 8-Dec'22) leaving the log filename empty. Tracked on [LRS-1125].

Also, PR #12959 optimizations were actually not working: all the levels were still enabled even if to-console and to-file were off! This disables unused log levels and the optimization actually works.

@maloel
Copy link
Collaborator Author

maloel commented May 29, 2024

@IntelRealSense IntelRealSense deleted a comment from sysrsbuild May 29, 2024
@Nir-Az
Copy link
Collaborator

Nir-Az commented May 29, 2024

Will a file be generated now if the user set the env var?
Can you change the GHA log path to see if now we detect a file?


should be probably:
path: build/${{env.LRS_RUN_CONFIG}}/*.log

and

Should be
path: build/${{env.LRS_BUILD_CONFIG}}/*.log

@maloel
Copy link
Collaborator Author

maloel commented May 29, 2024

Will a file be generated now if the user set the env var?

Yes, I tested this.

@maloel
Copy link
Collaborator Author

maloel commented May 29, 2024

Log files are there now

@maloel maloel merged commit 08808db into IntelRealSense:development May 29, 2024
18 checks passed
@maloel maloel deleted the logging-fixes branch May 29, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants