eclipse-ee4j / glassfish-shoal

Shoal
Other
5 stars 9 forks source link

add cluster name to HealthMonitor thread descriptions and log messages #65

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 16 years ago

For each cluster/group, the following 3 threads get created in HealthMonitor.java.

"HealthMonitor", "InDoubtPeerDetector Thread" and "FailureVerifier Thread"

It would assist investigating stack traces and logs with multiple clusters if the cluster/group name was integrated into these names.

For example if one has clusters cluster1, cluster2 and cluster3, these names would be appended to above thread descriptive names AND also be included in relevant log messages to provide more complete context.

Environment

Operating System: All Platform: All

Affected Versions

[current]

glassfishrobot commented 6 years ago
glassfishrobot commented 16 years ago

@glassfishrobot Commented Reported by @jfialli

glassfishrobot commented 14 years ago

@glassfishrobot Commented @jfialli said: Fixed.

this.healthMonitorThread = new Thread(this, "HealthMonitor for Group:" + manager.getGroupName());

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA SHOAL-65

glassfishrobot commented 14 years ago

@glassfishrobot Commented Marked as fixed on Thursday, October 7th 2010, 3:36:53 am