Skip to content

Conversation

@unshrawal
Copy link
Contributor

#481 - This PR flattens the current JSON schema so that all values are logged under the "attributes" key instead of grouping values differently for variables and functions.

#480 - This PR fixes the current use of a hardcoded "variables.log" string, and instead uses the user-given string for the log file and uses this name for the JSON data file.

#479 - Currently, we set up the user-configured file at initialization. This is a problem in the open-source leg library, since we initialize a global logger, and the user might change their logging configuration, which can lead to empty and unused files. This PR fixes this by lazily creating the files.

unshrawal and others added 25 commits July 19, 2025 09:29
…fde8a811a95bde77e21c3'

git-subtree-dir: opensourceleg/logging/observe
git-subtree-mainline: 05cd2e4
git-subtree-split: 1742fc5
…ging

Fixes #480

Also fixes a bug inside update_log_configuration which only moves the log file, and not the .json file.
@senthurayyappan senthurayyappan self-requested a review September 30, 2025 19:49
@senthurayyappan
Copy link
Member

Hey @unshrawal, sorry for the delay! Can you try resolving the conflicts? They probably occurred due to some recent changes to the library over the last month.

@tkevinbest
Copy link
Member

Hey @unshrawal can you remind me of the status of this? Are we just waiting for conflicts to be resolved?

@unshrawal
Copy link
Contributor Author

Hey @tkevinbest, I think the only thing that's left is resolving the merge conflicts - unless y'all have found any more bugs within the new logger. I'll try to fix all of the merge conflict by the end of this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants