log if sigar was loaded as well
This commit is contained in:
parent
2963f639e1
commit
9cd51ce177
|
@ -40,8 +40,9 @@ public class SigarService extends AbstractComponent {
|
|||
sigar = new Sigar();
|
||||
// call it to make sure the library was loaded
|
||||
sigar.getPid();
|
||||
logger.trace("sigar loaded successfully");
|
||||
} catch (Throwable t) {
|
||||
logger.trace("Failed to load sigar", t);
|
||||
logger.trace("failed to load sigar", t);
|
||||
if (sigar != null) {
|
||||
try {
|
||||
sigar.close();
|
||||
|
|
Loading…
Reference in New Issue