Skip to content

add more logging around cache invalidation#4284

Merged
behrmann merged 1 commit intosystemd:mainfrom
daandemeyer:cache-log
Apr 28, 2026
Merged

add more logging around cache invalidation#4284
behrmann merged 1 commit intosystemd:mainfrom
daandemeyer:cache-log

Conversation

@daandemeyer
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread mkosi/__init__.py Outdated
Comment thread mkosi/__init__.py
Comment on lines +4815 to +4816
if log:
logging.info(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You could do this with a bit less indentation as

Suggested change
if log:
logging.info(
logging.log(
logging.INFO if log else logging.DEBUG

and also get these messages on debug, which would give a bit more insight still.

@behrmann behrmann merged commit 25e76d1 into systemd:main Apr 28, 2026
43 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants