Search code examples
javamacoslogback

How do you set-up Logback on a Mac?


I have a Java application that uses Logback for logging. And I want to start developing the same Java app on my Macbook.

I have some experience with Mac but not much. Is Logback compatible with Mac also? How to set-it up on the Mac?

any tips or pointers appreciated,thanks


Solution

    • Fix path separators in logback configurations to direct slash '/'. This will work in all OSs (even in Windows).
    • Provide write access for your application to log directory(ies).

    Logback library is fully compatible with macos, so no additional actions or configurations required.