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) {
// 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

View File

@ -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();