Skip to content

Extra logging for expired test cases #11

@fortunes

Description

@fortunes

Hi Robert,
could you please add log on line #137 what type of check ID expired:

if (LocalDateTime.now().isAfter(check.getTargetts())) {
//set expired flag but do not update the data object
checkRepository.expire(check);

with additional data like:

log.warn("{}.{} expired now: {} because it should end at: {} started at: {} ",
                   check.getTestid(), check.getCheckid(), LocalDateTime.now(), check.getTargetts(), check.getStartts());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions