kezhenxu94 commented on a change in pull request #6952:
URL: https://github.com/apache/skywalking/pull/6952#discussion_r633021922



##########
File path: 
oap-server/server-fetcher-plugin/kafka-fetcher-plugin/src/main/java/org/apache/skywalking/oap/server/analyzer/agent/kafka/provider/KafkaFetcherProvider.java
##########
@@ -77,9 +78,13 @@ public void start() throws ServiceNotProvidedException {
         if (config.isEnableMeterSystem()) {
             handlerRegister.register(new MeterServiceHandler(getManager(), 
config));
         }
-        if (config.isEnableLog()) {
+        if (config.isEnableNativeProtoLog()) {
             handlerRegister.register(new LogHandler(getManager(), config));
         }
+        if (config.isEnableNativeJsonLog()) {
+            handlerRegister.register(new JonLogHandler(getManager(), config));

Review comment:
       ```suggestion
               handlerRegister.register(new JsonLogHandler(getManager(), 
config));
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to