better logging of failure to load sigar under monitor.sigar, and not just monitor

This commit is contained in:
Shay Banon 2012-06-02 21:34:01 +02:00
parent a0d1b9b695
commit 8df0e35532
1 changed files with 1 additions and 1 deletions

View File

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