mirror of
https://github.com/tiennm99/tjahzi.git
synced 2026-10-14 14:17:58 +00:00
Re #77: Debugging
This commit is contained in:
1 parent
42358a16fc
commit
8ee05e3875
1 file changed
+2
+2
@@ -22,7 +22,9 @@ class LokiAppenderMonitoringTest {
|
||||
|
||||
LoggerContext context = loadConfig("basic-appender-test-configuration.xml");
|
||||
|
||||
System.out.println("appenders = " + context.getConfiguration().getAppenders());
|
||||
LokiAppender loki = context.getConfiguration().getAppender("Loki");
|
||||
|
||||
MetricRegistry metricRegistry = new MetricRegistry();
|
||||
loki.setMonitoringModule(
|
||||
new DropwizardMonitoringModule(
|
||||
|
||||
Reference in new issue
Block a user