I think that you should write your messages to the HTMLLayout configuration file and create a REST-Resource in your application, which serves to respond to a simple GET request. Thus, you can easily access your log files as a web page.
Since the purpose of logback is to record logs and not serve them as a website, I do not know that this would also be possible with a simple configuration setup.
source
share