You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/06/08 07:49:12 UTC

[GitHub] [skywalking] JayeshMuley commented on issue #6672: Service Log setup - not dispalyed on UI

JayeshMuley commented on issue #6672:
URL: https://github.com/apache/skywalking/issues/6672#issuecomment-856541818


   Hello Sir, 
   
   We are using Log4j and Logback in one of the client application. We are not having control to append the skywalking dependency in the config file of Log4j. 
   
   -- As there suggested, to add the log4j config and change the following properties. 
   
      <dependency>
         <groupId>org.apache.skywalking</groupId>
         <artifactId>apm-toolkit-log4j-1.x</artifactId>
         <version>{project.release.version}</version>
      </dependency>
   
   log4j.appender.CONSOLE.layout=TraceIdPatternLayout
   log4j.rootLogger=INFO,CustomAppender
   log4j.appender.CustomAppender=org.apache.skywalking.apm.toolkit.log.log4j.v1.x.log.GRPCLogClientAppender
   
   ect. 
   
   
   My Question is  - 
   
   1.Is there any way we can avoid appending these property in Log4j, and without changing  anything in log4j properties and we start getting the logs. 
   
   2. We have filebeat installed on one for the machine. Can we take the output for filebeat directly to OAP. 
   
   Kindly suggest.
   
   Thanks and Regards,
   Jayesh Muley
   
   
   
   


-- 
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:
users@infra.apache.org