Skip to content

Conversation

@reakaleek
Copy link
Member

No description provided.

@reakaleek reakaleek requested a review from a team as a code owner November 12, 2025 11:17
@reakaleek reakaleek requested a review from cotti November 12, 2025 11:17
PageSize = request.PageSize,
};

logger.LogInformation("Search completed: {search.result.page_size} results for query '{search.query.text}' (Page {search.result.page_number}): {search.result.urls}",
Copy link
Member

Choose a reason for hiding this comment

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

I am not sure if squeezing search.result.urls in the log message is going to be useful.

We can make it a log attribute/property only see [LogProperties] when using the compile time log emitters.

https://andrewlock.net/customising-the-new-telemetry-logging-source-generator/#adding-properties-to-all-logs-using-enrichment

Copy link
Member Author

Choose a reason for hiding this comment

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

@reakaleek reakaleek requested a review from Mpdreamz November 12, 2025 12:37
@reakaleek reakaleek enabled auto-merge (squash) November 12, 2025 12:42
@reakaleek reakaleek merged commit 44b41ef into main Nov 12, 2025
24 checks passed
@reakaleek reakaleek deleted the feature/add-search-result-log branch November 12, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants