Skip to content

Improve log message when searching for default executor for async processing #27983

@junyongz

Description

@junyongz

When there are more than 1 TaskExecutors bean defined in the application, the whole stack trace will be printed.

And with statement "Could not find unique TaskExecutor bean" only.

The statement can be improved such that, "Could not find unique TaskExecutor bean, continue to find the bean using name {DEFAULT_TASK_EXECUTOR_BEAN_NAME}",

This statement can also be shown after the targeted bean is resolved successfully.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions