Skip to content

Refine CRaC restoration logs #31462

@sdeleuze

Description

@sdeleuze

As discussed with @wilkinsona, we should refine CRaC restoration logs in order to ensure consistency with Spring Boot and avoid duplicated and inconsistent logging.

With the changes introduced by this issue, the logs for on demand checkpoint/restore of a running application will be:

Restarting Spring-managed lifecycle beans after JVM restore
Tomcat started on port 8080 (http) with context path ''
Spring-managed lifecycle restart completed (restored JVM running for 181 ms)

The logs for automatic checkpoint/restore at startup will be:

Restarting Spring-managed lifecycle beans after JVM restore
Tomcat started on port 8080 (http) with context path ''
Restored Application in 0.11 seconds (process running for 0.112)

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