Pipe rewrite logging through SLF4J

Splash Forums Rewrite Users Pipe rewrite logging through SLF4J

This topic contains 1 reply, has 2 voices, and was last updated by  Christian Kaltepoth 2 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25482

    Hi, I am trying to pipe the rewrite logging to SLF4J using the jul-to-slf4j. But I have only seen the logging in console but not the logging appender I defined. I am wondering is Rewrite compatible to the SLF4J API?

    #25490

    Just add this dependency:

    <dependency>
        <groupId>org.ocpsoft.logging</groupId>
        <artifactId>logging-adapter-slf4j</artifactId>
        <version>1.0.2.Final</version>
    </dependency>
    

    After doing so, Rewrite will use SLF4J instead of JUL for logging. 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.