Skip to content

Improve Clarity and Log Level of Shutdown Message in HttpClientBeanHolder #12946

@SoilChang

Description

@SoilChang

Is your feature request related to a problem? Please describe.
In the HttpClientBeanHolder class, the shutdown method logs the message "Destruction of the end" at a WARN level. The text is unclear and can confuse developers about the actual state or purpose of this log entry. It also seems inappropriate to log this at the WARN level when it may be more suitable for INFO or DEBUG.

Describe the solution you'd like
Update the log message "Destruction of the end" to a clearer and more descriptive text, such as "HttpClient shutdown process completed successfully." Additionally, log this message at the INFO level since it is a standard completion notification, not a warning.

Describe alternatives you've considered

Keep the log level at WARN but improve the message clarity.
Provide an option to disable this log message entirely through configuration.

Additional context
This change would improve the clarity of logs generated during shutdown processes and reduce unnecessary WARN-level messages in application logs, helping developers better understand system behavior without being misled by unclear warnings.

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions