move to trace level debugging when sigar fails to load

This commit is contained in:
Shay Banon 2011-07-27 18:25:52 +03:00
parent 02ba21dd70
commit 36e6102a1b
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ public class MonitorModule extends AbstractModule {
} }
} catch (Throwable e) { } catch (Throwable e) {
// no sigar // no sigar
Loggers.getLogger(MonitorModule.class).debug("failed to load sigar", e); Loggers.getLogger(MonitorModule.class).trace("failed to load sigar", e);
} }
if (!sigarLoaded) { if (!sigarLoaded) {
// bind non sigar implementations // bind non sigar implementations

View File

@ -40,7 +40,7 @@ public class SigarService extends AbstractComponent {
// call it to make sure the library was loaded // call it to make sure the library was loaded
sigar.getPid(); sigar.getPid();
} catch (Throwable t) { } catch (Throwable t) {
logger.debug("Failed to load sigar", t); logger.trace("Failed to load sigar", t);
if (sigar != null) { if (sigar != null) {
try { try {
sigar.close(); sigar.close();