Skip to content

Remove Logger from Application struct - #1416

Open
harinik wants to merge 1 commit into
harini/logreviewfrom
harini/remove-apilogger
Open

Remove Logger from Application struct#1416
harinik wants to merge 1 commit into
harini/logreviewfrom
harini/remove-apilogger

Conversation

@harinik

@harinik harinik commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

After the changes in !1401, all the RestAPI server handlers will retrieve the logger from the request context. Removing the Logger field from Application enforces that api.Logger is not used directly and encourages getting the logger from the request context.

Application's Logger was only being used by the RestAPI handlers so removing it does not affect any other components. Verified that all unit tests pass.

After the changes in !1401, all the RestAPI server handlers will retrieve the logger from the request context. Removing the Logger field from Application enforces that api.Logger is not used directly and encourages getting the logger from the request context.

Verified that there is no code that accesses Application's Logger and that all unit tests pass.
@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Team

Run ID: 1c9dea28-ff64-4d8d-8f96-9c4c591ac959

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2026

Copy link
Copy Markdown

@harinik
harinik requested a review from burma-shave September 2, 2026 23:34
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Performance Smoke Test Results

Status: PASSED

Metric Value
p(95) latency 2.3 ms
Error rate 0.00%
Total requests 326
Req/sec 10.7

Smoke test config: 5 VUs x 30s. Thresholds: p(95) < 300ms, error rate < 1%.

Full results uploaded as workflow artifact: k6-smoke-summary.

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.

1 participant