Add informative log message.
Some checks failed
Java CI with Gradle / build (push) Has been cancelled
Some checks failed
Java CI with Gradle / build (push) Has been cancelled
This commit is contained in:
parent
d85c957b33
commit
2d9d8de357
1 changed files with 2 additions and 0 deletions
|
|
@ -219,6 +219,8 @@ public class VmWatcher extends Component {
|
||||||
"PMD.AvoidCatchingThrowable", "PMD.AvoidCatchingGenericException" })
|
"PMD.AvoidCatchingThrowable", "PMD.AvoidCatchingGenericException" })
|
||||||
var watcher = new Thread(() -> {
|
var watcher = new Thread(() -> {
|
||||||
try {
|
try {
|
||||||
|
logger.info(() -> "Watching objects created from "
|
||||||
|
+ crd.getName() + "." + VM_OP_GROUP + "/" + version);
|
||||||
// Watch sometimes terminates without apparent reason.
|
// Watch sometimes terminates without apparent reason.
|
||||||
while (true) {
|
while (true) {
|
||||||
Instant startedAt = Instant.now();
|
Instant startedAt = Instant.now();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue