Skip to content

Commit a407478

Browse files
committed
Comment out code that references old log4j LogManager class.
1 parent 90ad88a commit a407478

File tree

1 file changed

+8
-8
lines changed
  • src/main/java/com/parallax/server/blocklyprop/monitoring

1 file changed

+8
-8
lines changed

src/main/java/com/parallax/server/blocklyprop/monitoring/Monitor.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// import java.util.HashSet;
2222
import java.util.concurrent.TimeUnit;
2323
import org.apache.commons.configuration.Configuration;
24-
import org.slf4j.LoggerFactory;
24+
//import org.slf4j.LoggerFactory;
2525

2626

2727

@@ -102,13 +102,13 @@ private void initGraphiteReporter() {
102102
}
103103

104104
private void initFileLogger() {
105-
final Slf4jReporter reporter = Slf4jReporter
106-
.forRegistry(metrics)
107-
.outputTo(LoggerFactory.getLogger(Monitor.class))
108-
.convertRatesTo(TimeUnit.SECONDS)
109-
.convertDurationsTo(TimeUnit.MILLISECONDS)
110-
.build();
111-
reporter.start(graphiteReportingInterval, TimeUnit.SECONDS);
105+
// final Slf4jReporter reporter = Slf4jReporter
106+
// .forRegistry(metrics)
107+
// .outputTo(LoggerFactory.getLogger(Monitor.class))
108+
// .convertRatesTo(TimeUnit.SECONDS)
109+
// .convertDurationsTo(TimeUnit.MILLISECONDS)
110+
// .build();
111+
// reporter.start(graphiteReportingInterval, TimeUnit.SECONDS);
112112

113113
}
114114

0 commit comments

Comments
 (0)