Reputation: 3769
I am using SLF4j in my java application to store the logs and it works fine. Now i need to retrieve the logs generated by my application . Is there any API SLF4J provide to retrieve the logs?
I tried looking into the manual of SL4j but couldn't find anything.
Upvotes: 3
Views: 1406
Reputation: 38320
SLF4j does not provide an API to read logs. It is strictly a tool for writing logs. Logs are just text files, read them like any other text file.
Check out the answer to this question: reading log file in java
Upvotes: 3