Skip to content

Conversation

@mgudaram
Copy link
Contributor

No description provided.

@mgudaram mgudaram requested a review from jyao1 as a code owner November 20, 2025 22:37
@mgudaram
Copy link
Contributor Author

closes #592 #570

futures-util = { version = "0.3.17", default-features = false }
lazy_static = { version = "1.0", features = ["spin_no_std"] }
log = { version = "0.4.13" }
log = { version = "0.4.13", features = ["release_max_level_off"] }
Copy link
Contributor

Choose a reason for hiding this comment

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

Will this impact entry log later on when the that uses the td_logger crate later on?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At this moment I am not sure, it would depend on how we implement it (how we create the switch to decide serial vs memory). if we want to, we can honor it for entrylog scenario i.e. serial logs disabled.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should first clarify the expected behavior on serial log and memory log. My personal understanding is:

Memory Log Serial Log
Controlled by GHCI at runtime Yes No
Controlled by debug/release build No Yes
Level OFF/ERROR/WARN/INFO/DEBUG/TRACE OFF(release)/ON(debug)

Thought?

Copy link
Contributor Author

@mgudaram mgudaram Nov 21, 2025

Choose a reason for hiding this comment

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

this looks good to me, release_max_level_off/max_level_debug is something queried on log RUST crate applicable to only serial log release/debug respectively. Similarly through ghci we have max_level requested by VMM applicable to entrylog/memory logs.

@jyao1 jyao1 merged commit 32ca03d into intel:main Nov 24, 2025
50 checks passed
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.

3 participants