Skip to content

Commit

Permalink
Commenting out logging
Browse files Browse the repository at this point in the history
  • Loading branch information
JLouback committed Nov 4, 2013
1 parent 3d95933 commit d9f064f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/info/ganglia/gmetric4j/GMonitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import java.util.logging.Logger;
// import java.util.logging.Logger;

public class GMonitor {

private static Logger log =
Logger.getLogger(GMonitor.class.getName());
// private static Logger log =
// Logger.getLogger(GMonitor.class.getName());

private List<GSampler> samplers = new ArrayList<GSampler>();
private boolean daemon = true ;
Expand All @@ -33,7 +33,7 @@ public GMonitor(GScheduler scheduler) {
*/
public void start() {
scheduler.onStart();
log.info("Setting up " + samplers.size() + " samplers");
// log.info("Setting up " + samplers.size() + " samplers");
for (GSampler s : samplers) {
scheduler.scheduleAtFixedRate(s, s.getInitialDelay(), s.getDelay(), TimeUnit.SECONDS);
}
Expand Down Expand Up @@ -87,7 +87,7 @@ public static void main(String[] args) throws Exception {
a.addSampler(new CoreSampler());
a.start();
} catch ( Exception ex ) {
log.severe("Exception starting GMonitor");
//log.severe("Exception starting GMonitor");
ex.printStackTrace();
}

Expand Down

0 comments on commit d9f064f

Please sign in to comment.