Skip to content

Use structured logging during adservice shutdown - #5

Open
Jason59000 wants to merge 1 commit into
mainfrom
brownfield/structured-logging-adservice
Open

Use structured logging during adservice shutdown#5
Jason59000 wants to merge 1 commit into
mainfrom
brownfield/structured-logging-adservice

Conversation

@Jason59000

Copy link
Copy Markdown
Owner

What

Replace direct System.err.println shutdown messages with the adservice's existing Log4j logger.

Why

This keeps shutdown events machine-parseable and consistent with the service's normal logging path, satisfying the repository's structured-logging rule.

Caveat

The previous comment noted that Log4j may already be reset during JVM shutdown. If that occurs in a particular runtime, these final messages may not be emitted; service shutdown behavior itself is unchanged.

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