move to trace level debugging when sigar fails to load
This commit is contained in:
parent
02ba21dd70
commit
36e6102a1b
|
@ -83,7 +83,7 @@ public class MonitorModule extends AbstractModule {
|
|||
}
|
||||
} catch (Throwable e) {
|
||||
// no sigar
|
||||
Loggers.getLogger(MonitorModule.class).debug("failed to load sigar", e);
|
||||
Loggers.getLogger(MonitorModule.class).trace("failed to load sigar", e);
|
||||
}
|
||||
if (!sigarLoaded) {
|
||||
// bind non sigar implementations
|
||||
|
|
|
@ -40,7 +40,7 @@ public class SigarService extends AbstractComponent {
|
|||
// call it to make sure the library was loaded
|
||||
sigar.getPid();
|
||||
} catch (Throwable t) {
|
||||
logger.debug("Failed to load sigar", t);
|
||||
logger.trace("Failed to load sigar", t);
|
||||
if (sigar != null) {
|
||||
try {
|
||||
sigar.close();
|
||||
|
|
Loading…
Reference in New Issue